Answer Posted / nanda.d reddy
Hi,
it is not executive. it is executefile method.
first save ur function file in .vbs format.
u can call them in two ways.
1) with out storing them in associated library files, by
using executefile and call methods.
2) with storing in associated library files and using call
method.
coming to first method:
executefile "<file Path>"(ex: "d:\mydocuments\nanda\login.vbs"
call login_open()
Here executefile executes the funtion file but not a single
function.
call method calls a function in that executed file.
(remember that diff. between xecutefile and call methods.
Executefile executes a script file, and call functions calls
a single function in that execute file)
coming to second method:
go to menu bar--select test menu---select settings--select
resources--click on add(+) button in associated library
files section)--browse the script file and click on
open---click on apply--click on OK.
now come to expert view--write
call function() (Here Function refers the function which
available in that stored file)
the interviewer may ask that what is the diff. between above
two methods...
executefile method uses only in single action where it written.
but second method will use entire test.
I think u got my answer....if no...let me know pls..
sudhanandareddy@gmail.com
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how to write a test cases for courier offices?
plz.. tell me hw to write the Use Case for Online Purchase... just tod. itself i need...
Hi there Just done with QTP training. I am looking out for a job. can any one share your experinces in real time job. I mean How the work flow goes and what other things do i have to learn for getting a job. please respond ASAP this is urgent for me. Regards Lina.
What is the toughest moment you faced in your testing carrier in which everyone praised you?
Write a test case for telephone?
Can any tell to create test data for SUM (calculation), Scenario is 0 to 9 digits are available as we see in the calculator, I want to certify that the sum of the two numbers are working fine by providing test data.
Explain the branch coverage testing?
How to write test case for this scenario. The system shall auto populate the Email Address on the contact screen with the Email Address of the user profile
how to write test cases for online restaurant table booking system?
Explain the integration testing?
How to write test case for this scenario. The text field that reads “ enter SDU number or the city and state of the SDU” shall be removed from the contact screen
Explain the soak testing?
What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?
How to write a test case for create folder in the email. create aliases for email adress in the email. thanks Its urgent
how to test stand alone programs?