How to open an application through scripting?

Answer Posted / sadiq

Hey here are the simple steps for opening the
application through scripting

a="C:\Program Files\Internet Explorer\iexplore.exe"
b="www.yahoo.com"

systemutil.run a,b

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3287


Explain advantages and disadvantages kdf?

535


How to use setroproperty?

583


How is a Step generator used in UFT?

665


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

629






what is the advantages and disadvantages of using functions instead of re usable actions

1441


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1453


Both static and dynamic arrays are handled by the vb script. Is it true?

570


What is the difference between run time object and test object in QTP?

574


Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..

1355


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

1644


banking project description for software tester

7033


How to find Operating system information using QTP script?

580


what is the difference between data driver & data driven and driver script?

2146


How smart identification works in qtp ?

585