how do you run scripts in QTP?please anyone can answer my
questions

Answer Posted / dipu krishnan

Ram,
Clicking the run button on top runs the script.
>*>*>*>*
Under the Automation tab we have an item "Record and Run
Settings". In this we are having two tabs ,Web and Windows.

I will go with Web for now.

On the Web tab you can find the radial buttons:-
> Run on any open Browser.
> "Open the following address" with an text box for
entering the URL.

While you click the record button with the first
selection ,what qtp is going to do is that ,it Record the
script based on action performed on any browser which is
open.
While you click the run button with this selection,qtp
performs the run on any of the open browser that is open.If
no browser is open then the test won't run.
-------
While you click the record button with the second
selection ,what qtp is going to do is that ,it launches a
new browser with the entered url in the textbox.Scripts are
recorded based on action performed on this browser which
qtp had opened.
While you click the run button with this selection,qtp
launches a new browser with this url and runs the script.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the features of quick test pro(qtp)?

576


Explain the qtp test phases.

619


Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you

1444


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

1677


What is the diff between image and bitmap check point?

597






They asked by using qtp recording writing scripting

2069


What is system testing and what are the different types of tests you perform in system testing?

601


On what document base Descriptive programming is written if build is not yet ready ?

875


How do you know the location Id of an object if you know its index id?

589


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1283


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

656


Which environments are supported by hp qtp?

598


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

1568


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1541


What are the different types of functions available in qtp and explain ?

569