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 |
Hi all. Could anyone tell me the difference between an Action and a Function in QTP. Thanks in advance and Merry Christmas.
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?
i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself
How can i parameterize the standard checkpoint using Excel sheet where my expected values are there?? suppose i want to test a application with diffent value and want to run 5 iteration?? for each iteration, values will be exported from excel sheet as input. Now i will store some expected values in the excel sheet, which i want to check in the application whether expected equals to actual value??? can any one help me
hi this is srinivasa(from blr) i complited my B.tech(e.c.e) in 2007 im searching job in s/w testing but idont have freshers resume for s/w testing please send some s/w testing resume for me(fresfers resumes only) advns thnks you
How many types of parameters are there in QTP and what are they?
how can you write a script without using GUI in QTP?
Among the 4 capture levels, Complete, Partial, Minimal, None. which one is mostly used?
How can we get a textcheckpoint in QTP9.1?
Write the code for select the 5 values from drop down list. drop down list having the 10 values.
Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the recorded object due to which script is going to fail.so can you tell me how we can handle this situation and i have another concerened issue is that at the time of run New errors comes every time so how we can handle this sitauation how we can add Recovery scenarios to the script.some time application runs successfully and some time it produces new error thats why i am facing lot of problem please give me the sugeestion as soon as possible.