how do u call a from library file

Answers were Sorted based on User's Feedback



how do u call a from library file..

Answer / 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

how do u call a from library file..

Answer / raveendra

whenever u want to call the functions using
executivefile.path/file .vbs file method

Ex: excutive"\*.*\countchar(textvalue)"/*calling the vb
script file

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Test Cases Interview Questions

please can anybody tell me, how to indentify the test cases which can be automated from a given set of test cases, say 20.

2 Answers  


What are the possible test cases for a palindrome.It must be starting with alphabet and its length is 100 .It should accept alphanumerics only.It should take only 100 numerics to the textbox

0 Answers  


Write a test scenario for a project which is developed in a VB then after wards it is converted in Java and there is no documentation available.

2 Answers  


What are semi-random test cases?

0 Answers  


what is the test plan for ms-word

0 Answers  






What is the role of a tester in the test plan preparation? What elements tester physically develops in the test plan document.& what exactly this document contains?

4 Answers   Blue Star,


can u tell me how do we writetestcases for perfomance,load,And stress?

2 Answers   IBM, Wipro,


maximum length of testcase

1 Answers  


what are the test case scenario for epos/pos testing,and how to initiate the process

0 Answers  


Could anyone please let me know what are the test cases for a rule based system? WE have a module on RBS which relates the data gathered to a set of rules and uses them to verify if the details are correct. Also we have a data acquisition module which collects the configuration details of a node entering a cluster using the CPUID. Can you please suggest test cases for these two modules, please?

0 Answers  


if u have a application that is demo verson and u want to perches it if u have full version. Plz give me some test case for try to break the applicatin

1 Answers  


Write a Test Case to test Can of Red Bus Booking

2 Answers  


Categories