How to execute a VBS file without using Execute File
statement?
Answers were Sorted based on User's Feedback
Answer / johnson
Create one flat file and write script in to that.Save the file to .Vbs extension. Double click on that vbs file. It will execute.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kishan
We can run a .vbs file using SystemUtil.Run.
Syntax:
SystemUtil.Run "<Path of your .vbs file>"
eg:
SystemUtil.Run "C:\myfile.vbs"
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sangeeta
We can execute it from File-> settings-> Resource Tab. Needs
to map the Vbs file by clicking on the +(plus) icon there.
| Is This Answer Correct ? | 1 Yes | 4 No |
Why do you choose only QTP for your project automation among remaining tools like Rational robot and silk test?
what is the difference between link and hyperlink?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
If you entered into yahoo mail with your valid user name and password , then you will get " welcome , username " (for example you will see , “welcome, Krishna” ) text on the top of the Inbox page , how can you test the user name is correct or not using QTP?
In Descriptive programing if i use this below code will it work for login window or flight Res Window. Shud i add the properties like attached text=login and text=Agent Name in the object repository and define a new object first. Pls tell me the procedure in clear inorder to execute this script. Dialog("title:=Login").WinEdit("attached text:=Agent Name:").set"agent123" Dialog("title:=Login").WinEdit("attached text:=Password:").set"mercury" Dialog("attached text:=Login").winbutton("text:=OK").click
What is the Maximum syncronization timeout in seconds in QTP 9.5
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????
What are the types of object repository in qtp?
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?
A web page has two butons with same properties and rotating in clockwise direction. how to click on any of the button?
wt is memory leakage?
How to retrieve the data from database?