Posts: 13
Threads: 5
Joined: Aug 2011
Reputation:
0
09-04-2011, 10:44 PM
Hi All,
1. Is it possible to execute QTP scripts line by line manually i.e., by some functional key press (Eg: F2 or F3 or F4 etc.,)
I want this to see how each line of code behaves in the script.
2. What is the purpose of "Update Run Mode". Can somebody explain this with an example.
3. How to use index in QTP?
Please help.
Thanks and Regards,
- Gump
Posts: 424
Threads: 10
Joined: Aug 2011
Reputation:
0
09-05-2011, 07:40 PM
Hi Gump,
1) U can use F10 to debug ur code line by line. To debug a function u can use F11.
2) Update run mode will update the checkpoints to the current values that appear when the test case is executed.
3) Sometimes, on a page there may be different webelements with similar properties. It becomes hard for QTp to identify them. In such cases we make use of the Index value which uniqu to the object.
Regards,
Ankesh
Posts: 13
Threads: 5
Joined: Aug 2011
Reputation:
0
09-06-2011, 05:19 AM
(This post was last modified: 09-06-2011, 05:23 AM by Forrest Gump.)
Hi Ankesh,
Thanks for replying and your time.
Is it possible for you to explain 2nd point with an example?
I know the purpose of using "index". My Question was to know "How".
please guide me.
Thanks and Regards,
- Gump
Hi,
I tried "F10". It is just highlighting "File" menu but not executing.
I tried "F11" also but its opening "Run" window.
Please help
Posts: 32
Threads: 20
Joined: Mar 2011
Reputation:
0
09-06-2011, 10:47 AM
(This post was last modified: 09-06-2011, 03:23 PM by suresz449.)
In your Script starting point you have to put Debug Point and run your program, it shows an arrow mark in your script at that time you have to use F10 function key.
Same procedure follow to function also use F11 key