How to execute a VBS file without using Execute File
statement?
Answer Posted / 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 |
Post New Answer View All Answers
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
What is quicktest professional (qtp)?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
What is the descriptive programming?
Explain different recording modes?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
Explain how qtp identifies objects?
QTP script is not working on other's machine..
What is the difference between the keyword view and expert view?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com
Can we run multiple QTP scripts one after the other without manual intervention? How?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
how to test use the quality control .how to verify the image verification