How to create configuration scripts



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

Post New Answer

More QTP Interview Questions

actuall wat my doubt is:while doin regression testin we enter all +ve & -ve data....system has to accept +ve and reject -ve data.in such case we get a popup window sayin that wrong entry...now i wan to overcome this popup window..how do i go further....plz explain.i tried thru rec.scenario but of no use.

1 Answers  


breef description of batch testing ?

1 Answers   Wipro,


1. Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). 2. Using descriptive programing, how do you handle changing URLs. Pls anyone, very urgent

2 Answers   Infotech,


what is the difference between IE & Netscape in web testing on a log in page

1 Answers   TCS,


How many types of parameters are there in QTP and what are they?

2 Answers  


What is the extension of script and object repository files in QTP?

9 Answers  


whow much strong on VB and C?

1 Answers   UHG,


Any limitation to XML Checkpoints?

1 Answers  


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

1 Answers  


what r the 3 basic factor on which we determine to perform automation

6 Answers   AppLabs,


does automation replace manual testing?

2 Answers  


tell me about framework types and most used framework in real time. types of output value in details. diff between wr and qtp in detail.

2 Answers  


Categories