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


Please Help Members By Posting Answers For Below Questions

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.

2217


Tell some commonly used Excel VBA functions?

1130


What is the registration process and examination fees?

1162


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

1941


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

2173


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

2396


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

2166


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

2188


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?

2151


Define Environment Variable in UFT and its uses?

1144


if anyone has idea of the interview procedure in covansys, plz send me a mail?

2062


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....

3001


what kind of frame work you used in your last project?

2414


How are actions and functions different in QTP?

1151


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?

1300