We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

checkint the text shown in a tooltip

Thread ID:

Created:

Updated:

Platform:

Replies:

53942 Dec 23,2006 08:59 AM Jan 2,2007 06:05 AM General Discussion 2
loading
Tags: General Discussion
QA Engineer
Asked On December 23, 2006 08:59 AM

hello,

my goal is to design an automated test (using Mercury QTP 9.0) which checks that after the mouse is moved over some bar item in the toolbar for a couple of seconds, (specifically a syncfusion Bar item, and toolbar) a tooltip apperas with the text of that bar item.

I believe I need to do one of the following:

1) catching or tracing an event that is sent from the Syncfusion BarItem ti the screen (or something in the middle of them) that tells the screen to show a tooltip with some text. and than verify that the text of the Bar Item (in the tooltip field) is the text shown.

OR

2) after moving the mouse over a Bar Item, check for any new popped windows or tooltip windows and check that the text in that window (tooltip window) is the text in the bar item.

I would realy apreciate any help or hint because i can not thing of any other way to do that and i don't know how to implement any of the 2 ideas above in QTP. (the test must be an automatical test)

I would like to stress the fact that the problem is not accessing the field that stores the string that is SUPPOSED to be shown in the tooltip. THE problem is to check that a tooltip has appeared!!! and to compare and verift between the text shown (physically) on the screen , and the string stored at the field "tooltip" of a syncfusion barItem.

thanks

Administrator [Syncfusion]
Replied On December 28, 2006 03:01 AM

Hi,

Sorry for the delayed reply. This is an interesting query, we will help you with some solutions in a day or two.
Direct trac
 is a better place to register the case as that would give you a quick turn around.

Thanks for your patience.

Best regards,
Stanley

>hello,

my goal is to design an automated test (using Mercury QTP 9.0) which checks that after the mouse is moved over some bar item in the toolbar for a couple of seconds, (specifically a syncfusion Bar item, and toolbar) a tooltip apperas with the text of that bar item.

I believe I need to do one of the following:

1) catching or tracing an event that is sent from the Syncfusion BarItem ti the screen (or something in the middle of them) that tells the screen to show a tooltip with some text. and than verify that the text of the Bar Item (in the tooltip field) is the text shown.

OR

2) after moving the mouse over a Bar Item, check for any new popped windows or tooltip windows and check that the text in that window (tooltip window) is the text in the bar item.

I would realy apreciate any help or hint because i can not thing of any other way to do that and i don't know how to implement any of the 2 ideas above in QTP. (the test must be an automatical test)

I would like to stress the fact that the problem is not accessing the field that stores the string that is SUPPOSED to be shown in the tooltip. THE problem is to check that a tooltip has appeared!!! and to compare and verift between the text shown (physically) on the screen , and the string stored at the field "tooltip" of a syncfusion barItem.

thanks

Administrator [Syncfusion]
Replied On January 2, 2007 06:05 AM

Hi,

Regarding this request " to check that a tooltip has appeared ", is not currently supported in the Tools library. The ToolTip used in the Menus are WindowForms tooltip which does not have an event to indicate the visibility of the tool tip in the screen. I haven't yet found the best way of overcoming it. Please refer to this kb article of Mercury and see if that helps.

With the help of custom server libraries, Syncfusion controls can be recognized in QTP. TestStudio offers the custom server libraries for most of the Syncfusion control, please refer to this page for more details. Using these the text of the bar item and tool tip of the bar item can be known.
More information of our TestStudio product can be referred from the knowledge base articles.

Thanks for your interest in Syncfusion products.

Best regards,
Stanley

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;