adspace
How can I find out the cursor position through QTP
suppose I am keep tabbing(Pressing the tab key continuously)
and stoped at a position
Now I want to find out where the cursor position is
Answer Posted / Nizamoodeen
In QuickTest Professional (QTP), you can use the following methods to get the cursor position:
1. VBScript: You can use the `ActiveBrowser.PageSource` property to get the HTML source of the web page and then search for a specific tag or attribute that indicates the current cursor position.
2. IDE: QTP's built-in keyword 'GetProperty' can be used to get the value of a specific property of an object, such as the `value` or `name` attributes, which might help you determine the cursor position.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
Tell some commonly used Excel VBA functions?
What is the registration process and examination fees?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
Define Environment Variable in UFT and its uses?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
what kind of frame work you used in your last project?
How are actions and functions different in QTP?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?