Answer Posted / 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 |
Post New Answer View All Answers
Define Error Pane of UFT?
what is test scheduleling?
Difference between test object and run time object?
How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)
Where is the Bitmap checkpoint information stored?
When using descriptive programming?
what is Property......End Property loop? how to write sript for it in QTP
how to post xml data from QTP scripts to any application?
Do you know how to connect database? Can you tell me the procedures?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
what is meant by source control?
Explain in brief about the quicktest professional automation object model?
What are the challenges you faced during you entire life automation ?
how did u use automating testing tools in ur job?
What are main panes available in qtp test browser?