what is the purpose of .vbs file?
Answers were Sorted based on User's Feedback
Answer / ravi kiran
.vbs stands for the files of type Visual Basic Script.
.vbs files can be executed on windows platform by double
clicking that file or executed from commmand prompt by
WHS 'Windows Host Server' which comes default with any
windows OS. Test scripts in QTP or any functions can be
saved as .vbs files.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / srinivas.o
U can save the user defined functions in .vbs file. And we
can debug the script by clicking(two) on that file. It is
also called library file.
| Is This Answer Correct ? | 0 Yes | 1 No |
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
how to write scripts in QTP?
What are the check points can be inserted without recording?
For Data-Driven testing can you use micro soft word document instead of using Datatable what is your approach?
WHICH PROCESS U FOLLOW IN COMPANY
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
Explain about Table and DB Checkpoints?
What is the basic concept of qtp?
What is 'sleep' in sync point?
Problem with XML checkpoint in QTP ?
How many types of recording modes in the qtp?
In this bellow script QTP is not able to getting no. of Links from my Browser. Set desc=description.create desc("micclass").value="Link" Set obj=Browser("creationtime:=0").page("title:=.*").childobjects(desc) msgbox obj.count I am getting "General Run Error".Why QTP is not supporting my Browser,but its running fine in other system.Please help me to overcome this problem.