I register user defined function in one test, I tried to
call that function into other test. But that function not
works in other test please give the direction for that.



I register user defined function in one test, I tried to call that function into other test. But t..

Answer / vijay

Hi,
You need to place the function in to .vbs file and you need
to execute that file before you are calling that function
in to other test. then that function will be there in the
memory and you call any no of times.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

w is descriptive programming

2 Answers   TCS,


w is datatable

5 Answers   CTS, IBM,


I have a drop down box to show selected number of records in result page.It contains 4 items like 10, 25,50 and 100. when i was recordes script for seelcting each item and checking selecting number of records in the result page( it is in the same page in the table format)it is generating a new page with same controls( objects) in the OR. how to avaid these in OR? is it possible to write DP for only these lines?, remaining(remaingin lines of code) objects i want use from OR only. One more problemis if change ( add /remove properties of an OBJECT in OR , my ( recorded )application is not running.

5 Answers   Virtusa,


What is Expert view?

4 Answers  


How to Import data from a ".xls" file to Data table during Runtime.

1 Answers  






what is the difference btn risks & Therads in the Test plan documentation?

0 Answers   Accenture,


What is API

2 Answers   Satyam,


whaht is the difference between CLASS & OBJECT?

3 Answers   Accenture,


how to capture objects of remote deskop as it is capturing only window.

1 Answers   Wipro,


How to use transactions in qtp?

0 Answers  


1)What is the Difference Between WaitTo & Sync?

4 Answers   Wipro,


Why do you choose only QTP for your project automation among remaining tools like Rational robot and silk test?

2 Answers   CTS,


Categories