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 acess a test in RSA?
What is runtime objects and test objects? What is the difference between them?
how we will use output values in qtp? is there any possibulity by descriptive programming?
If I change the object name in one action will it be updated in all the actions? Or not?
What is synchronization? What are the ways you can synchronize?
We have a text file which contains 1 to 100 numeric values sequentially like 1 2 . . 100 Now we have to count them and transfer to XML file by writing a code in qtp.
How do you configure QTP AND Test director?
We stored into the objects OR and then write the scripting
how will load the object during runtime?
Hi Friends ,I want to Know name of the Site for the QTP Help and the Best Book through that I can start the QTP Practice here also whare can I download the QTP Users Guide I search I was Unable .
Explain about the quicktest professional (qtp) automation object model?
How to create configuration scripts