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
what is the difference between development and testing
How to handle the exceptions using the recovery scenario manager in qtp?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
What is contained in the object repository?
How many tabs are available in debug viewer pane?
What are the various types of Actions in UFT?
what are the mandatory properties for a tex boxc (scenario?)
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
What is keyword view?
How to build scripts that access data from external sources?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
How can you identify the browser and its information using QTP script?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
Give me some real time point of way where exactly we can conduct audits?
Through array we can execute the testcase how ? give me example