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 |
What are the main features we have to compulsory test by using qtp in an web based application
Among all the check points what is the most important checkpoint?
How to return a value from a fn, if it has more than one value how to return
you written some code in qtp for opening google.com browser and entered some text inthe search text box and clicked search button. this is ur script.. before running this script i have already opened two google.com browsers. now am running the script what will happen? script will run or what?? Thanks... Nani
How to find the OS name by using QTP script?
Object recognition in QTP is based on which model ? a) COM b) DCOM c) DOM d) None of the above
Explain the difference between smart identification and object identification withn clear example. please it is very urgent
How to identify whether a web page exists or not without using Browser(" ").Page(" ").Exist?
How to capture screen shots when an error occurs?
Can you write a script to check if the folder exists or not?
Syntax for how to call one script from another and Syntax to call one "Action" in another?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji