Hi PLZ explain User Defined Functions in QTP with eample?
Answer Posted / narendra
User defined function is a peice of code/program which
intended to perform some specific task.
e.g if i want to create 100 user id's and i can use each id
to create a profile. To avaoid duplication of ID's we can
write a function (.vbs extension) which generate ID's based
on system date and time so all the ID's will unique. After
that we need to add that function into resources tab in QTP
and can call that function using a single line statement
as ...call <functionname>(arguments, if any)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the key elements available in test result window?
What are the factors on which script execution time is dependent?
Where we can use the analog mode and where we can use the low – level mode?
How to start recording using quicktest professional?
how to test use the quality control .how to verify the image verification
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
How to creating an output value using quicktest professional (qtp)?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
Please guide me release notes of Automation once scripts are completed
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
How to remove associated function library?
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
What are the benefits of qtp?
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)))
How does qtp recognize objects in aut?