Reading tooltips of table cells in .NET application
Question ID: 104098
2
0

I am testing a table with changing values in the cells. On mouse over a cell, a tooltip is given which contains a value specific to that cell. The table is of type SwfTable (.NET application).

I am looking for a way to read this tooltip so I can check the value in it against some other cells in the table.

Thanks,

Leon

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on April 23, 2010 2:53 pm
129 views
Answers (3)
2
Private answer

We have seen this behavior in the past and it can be tricky. One way we have resolved it is to come down to ''low-level'' recording for just the piece of the script that needs to capture (click on) the tool tip. You may want to investigate turning up the sensitivity for Web events as well.

Marked as spam
Posted by (Questions: 1, Answers: 8)
Answered on April 30, 2010 3:08 pm
1
Private answer

Have you tried to have the mouse move or hover over the object and wait for the tool tip to appear? Once the tool tip appears you can use descriptive programing to capture text with getROProperty. You might want to use the Object Spy with the CTRL button to get the properties of the tool tip.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on April 23, 2010 6:16 pm
0
Thank you for reminding me of the control key use with the object spy. It allowed me to find the nativeclass name. I am triggering the tooltip with a Mousemove, which works, but needs pixel arguments that are hard to translate into a row and column number. If I could use row and column numbers for mousemove or a similar trigger as is possible for getcelldata it would be perfect
( at April 23, 2010 9:14 pm)
0
Private answer

In your browser, hit F12 to display the developer tools view (this works on IE, FF, and Chrome). Then click on the arrow button in the developer tools window toolbar and point at the web element on your original browser page that has the tooltip. Then go back to the developer tools window and it will have highlighted the code that contains the tooltip. Once you know how the tooltip is implemented, you can can use descriptive programming to return the tooltip text.

Marked as spam
Posted by (Questions: 1, Answers: 2)
Answered on August 11, 2011 4:20 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top