How do you invoke any application and write a script to
invoke QTP using VB Script.

Answer Posted / nanda.d reddy

TO Launch IE using VB Script:

Set IE=CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Navigate "www.google.com"

else

systemutil.run "iexplore.exe","www.google.com" (This is not VB Script, this is QTP builtin method)

But i dont understand that "when QTP is providing builting feature why do we need put more effort to write extra script instead using tool features" ( Why interviewers dont ask which are usefull)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which scripting language used by quicktest professional (qtp)?

656


What is the use of text output value in quicktest professional?

495


What is a checkpoint? How many check points are there in qtp?

516


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1399


Define Canvas view of UFT?

605






How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1455


How many ways is to parameterize the value?

608


Define Environment Variable in UFT and its uses?

598


breef description of batch testing ?

1701


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1321


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

1435


What is the recovery scenario in qtp?

560


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1509


How many types of parameters are there?

535


If I change the property value at runtime is it effect is object repository?

595