Micro Focus QTP (UFT) Forums
how to click on tool tip.. - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: how to click on tool tip.. (/Thread-how-to-click-on-tool-tip)



how to click on tool tip.. - venkatesh9032 - 05-21-2015

Hi,

i have a application which has 5 modules in a menu bar.
when i am trying to store in OR it's adding fine but saving as webelement.
the Web element text for each module will changes every time but the tool tip of the webelement will not change.

I need to click on the tooltip in the menu bar..
please help me out.

Sad


RE: how to click on tool tip.. - babu123 - 05-21-2015

solutions 1:
Hold the control key when adding the object to repository so the object are added correctly. by holding ctrl key u can check the property of Menu item the add them to OR.

solution2:
use mouse over method on menu Item so sub menu items will open.

To click on tool tip use mouse over then "fireevent" click. this might resolve.


RE: how to click on tool tip.. - venkatesh9032 - 05-22-2015

Hi Babu,

Thanks for the solution. but my req doesnot match with ur sol..

I have a menu bar which is have 6 modules(If i use object spy the ,enu bar is acting as web element and the Title is empty, If i spyed on the module in the menu bar it is showing the Title)

My Req is i should not add the 6 modules i should add only the menu as a webelement and get all the tool tips of that menu.

because the module text is changing randomly but the tool tip of the module will not get changed so i should click the module by passing the tool tip as parameter and if the tool tip exists in the menu it should clicked else it should return Fail.


-----------------------------

I tried by adding Individually webelements and mousehovering its working--//but not according to my reqs.


RE: how to click on tool tip.. - babu123 - 05-22-2015

in this scenario u can use Virtual object concept...it my 2 cents idea.