How to create configuration scripts
Answer / kampli rajasekhar
<create QTP object instance>
set qtpapp=createobject("quicktest.application")
<launch the QTP application>
qtpapp.launch=true
<makes the QTP application visible>
qtpapp.visible
<The following 4 lines code used for golobal settings>
qtpapp.options.run.runmode="fast"
qtpapp.options.run.viewresults=true
qtpapp.options.run.capureimagefortestresults="never"
qtpapp.options.run.capuremoviefortestresults="never"
<The below line used for opening a test>
qtpapp.open "path of the script filename"
<the below 3 lines are used 4 local settings of the
particular test>
qtpapp.test.settings.run.iterationmode="one iteration"
qtpapp.test.settings.run.disablesmartidentification=true
qtpapp.test.settings.run.objectsynchronustimeout=10000
<the the below line is used for to run the test>
qtpapp.test.run
<the the below line is used for to close the test>
qtpapp.test.close
<the the below lin is used for to quit From QTP application>
qtpapp.quit
| Is This Answer Correct ? | 1 Yes | 0 No |
how to calculate no. of repeating characters in a a string..please give me the code
Hi,EXCEL SHEET AND DATA TABLE . BOTH ARE SAME OR NOT?
How to use the object spy in quicktest professional 8.0 version?
can a Function return more than one value..??? if so please give me the code for that.
5 Answers DST Global Solutions,
With what extension you can save the list of tests in a file to run in test batch runner?
How to interact tool & application build in QTP?
At a time how many users can access QTP?
Who uses qtp tool?
What is Performance testing?
Explain the check points in QTP?
Wat is the command used to add an object(properties) to an object repository?
how to test globalisation testing using qtp? lets take an example: suppose i have to test the word is in hindi "ratikanta", how we test it by using descriptive programming or any method??