If u r using descriptive programming to identify the object
where do u write the script for those objects? do u write
it in the expertview? plz do answer its urgent thanks
advance.
Answer Posted / krishan kant sharma
You need to write script in Expert Mode.
For example you want to click on one button available on
Calculator:
' Open Calculator
Systemutil.Run "Calc"
'Click on Button 1-simplest code
Window("text:=Calculator").winbutton("text:=1").Click
'Close Calculator
systemutil.CloseDescendentProcesses
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to use output values in qtp ?
How do you test DLL files using automation Tool QTP?
what QTP Options do you know?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
How to suppress warnings from the test results page?
What is the purpose of loading qtp add-ins?
What is the use of text output value in quicktest professional (qtp)?
What is QTP’s model for test creation?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
What are main panes available in qtp test browser?
How to modify the text checkpoint?
What is environment variable in qtp and why to use it?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
How to export quicktest professional results to an .xls file?
which type of testing process are you following in ur company? how to recognize a qtp page?