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 |
If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?
How will you set a unique four digit number in an edit field in QTP?
Is there any MS Access addin in QTP?
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
how do find current links in webpage for ex: in yahoowebsite today mainpage is having 50 links and next day same page is having 60 links. if i run same programe it should display total links in webpage ?
How to export QTP results to an ".xls" file?
What is keyword view and Expert view in QTP?
How many types of object repository in qtp?
how do we add a new sheet to data table in QTP?
Hi all, i have installed QTP8.2 in my system. but script is not generating while recording. What is the problem? is any file missing? pls let me know anybody...Thnaks
How to customize qtp?
how do u plan test automation?