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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what is command for executing files?

1517


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1404


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1591


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

507


How to attach a file to TD?

658






write a script to verify the image path(src property) of the images which are in web pages.

1809


What is the difference in testing a client-server application and a web application?

587


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

702


I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)

1414


Explain object spy in qtp.

587


How to test the login page in different ways in automation testing and i need code?

1348


What is the difference between local and shared object repository in qtp?

565


What are the Disadvantages of shared object repository?

571


What is difference in global and action sheet in qtp?

612


Explain the parameter in qtp?

581