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 |
I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.
On a web application I want to select list item 5 from a dropdown list. but QTP identifying this object as winobject. Then how can we select list item 5 from that dropdown list.
How does qtp identify the object in the application?
Why is action split used by qtp?
What is Object Spy in QTP?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
Any limitation to XML Checkpoints?
how to do the batch testing in test director using manual testing procedure?
What Folder Structure following in Keyword Driven Frame work?
Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
Did QTP prove efficient for your project? Yes or No, explain?