how to recall a function in QTP?
Answers were Sorted based on User's Feedback
Answer / pooja
to call a function...
in script u can write the function name as
login()
if there is any argument has to be passed then,
login(username, password)
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / rajanya
Exist function can be used (called) to more than one test.
We can call the Function by calling the function name into
our script,
"Public Function Launch_Browser(byval URL)"
For the above function, u can call Function name -
Launch_Browser to your script by declaring variables too..
| Is This Answer Correct ? | 2 Yes | 0 No |
What is User defined function in QTP
Explain about random testing of 500 test cases?
How to export QTP results to an .xls file?
What are the different ways to invoke an application using QTP?
what r the drawbacks and limitations of QTP?
Hi, My problem is as follows. I recorded a script that created Object repository of each action i recorded. But later I added one more step (which was to enter data in a textfield) into the script through expert view. But as no repository for this newly added step exists in the test, my script fails. So please help me to sort this problem that how can I create object repository of a new step in an existing test. Thanks everyone
What will be the script for recovery scenerio.plzanyone give ans with aexample related to banking project
whow much strong on VB and C?
Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks
hi i have one isuue on selecting webcheckbox .there are 15 wecheckboxex i want to select every time 9 th one how can i select plese help me regards balaji
What is the short cut keys for the following?
What is the extension of the qtp local repository?