Micro Focus QTP (UFT) Forums
UFT 11.5 with .net objects - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: UFT 11.5 with .net objects (/Thread-UFT-11-5-with-net-objects)



UFT 11.5 with .net objects - Unna - 03-28-2014

Hi ,

I have a question on .net objects and recording them in QTP.

My application is a scheduler that helps schedule appointments. Those appointments are movable within the screen. On top of the appointment the name of the patient and the type of appointment will be display.

Now I have to automate this by finding the appointment on the screen using patient name and then do a right click on it. Also when I hover over the appointment the tooltip will be displayed and I need to capture that

Can you tell me how to do this? I have tried using gettextlocation. It sometimes returns success and other time says text cannot be found. I have also used getvisibletext. The text is there. But not sure how to get the coordinates and click.

Any assistance is appreciated


RE: UFT 11.5 with .net objects - Ankur - 03-29-2014

Please ensure you don't open multiple threads for the same question.

Regarding your query, please check using Object Spy which property has the tool tip in it.