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
Explain Descriptive Programming Types with Examples?
How do Parameterization and Data-Driving relate to each other in QTP?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
What is the syntax to call one script from another?
What are the types of data tables in qtp?
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
Object repositories types, which and when to use?
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
Can you write a script to check if the folder exists or not?
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
How did you use regular expressions in QTP and also in WR?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
How can you exit from an action?