How do you invoke any application and write a script to
invoke QTP using VB Script.
Answers were Sorted based on User's Feedback
Answer / srinvias
systemutil.run "QuickTest.Application"
set qtp_app=createobject("QuickTest.Application")
qtp_app.launch
qtp_app.visible=true
or
invokeapplication "C:/internet/explorer.exe"
| Is This Answer Correct ? | 12 Yes | 0 No |
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 |
What are Child Objects?
Write the vb script for the lowest and highest values of an array?
where do you store the test result?
what r the executing modes in QTP
how to count the word "IS" is repeated in the application using DP
3 Answers DST Global Solutions,
What are the differences between table and db checkpoints?
How to retrive the property of an object?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
In the QTP the snap shots obtained during the recording time will appear in the active screen, if we have to use the snapshots from where we have to access. in which memory location of QTP they will be stored?
Hi All, I want to know how can we schedule QTP scripts. Am using 9.5 version and in our office they want to schedule individual scripts of QTP so that it can run unattended during night time, Please help me how to do that. 2. what is the use of silent test run in qtp can I schedule the scripts in Silent runner, Please explain. 3.I retrieved data from the database using output value -> Database output value. the result of the query for eg is 5 rows, iam able to output the first row by selecting the cols and adding it to output, but am not able to do it for the rest of the rows. please tell me how to do it. Sorry for posting so many qns, am not able to find answ to any of the above in any websites, hoping that someone would really help me with these here, please help me. awaiting for ur immediate revert. Priya
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
how quick test record on dynamically generated urls and web pages.