How to call a function in QTP?
Answers were Sorted based on User's Feedback
Syntax to declare a function
Function functionname(parameter1, parameter2, etc...)
'statements....
End Function
E.g: Function Myfunc(a,b,c)
Calling the function in test script:
E.g:
1)Call Myfunc(a,b,c)
2)Myfunc a,b,c
| Is This Answer Correct ? | 4 Yes | 0 No |
You just have to call the name similarly as your parents
call you by name.
So while running just keep calling the name of the function
with a midtone vice and all izz well !!
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / shaik
Welcome to Cinemachance. The place where you can Show ur
Talent FREE of Cost. Get an instant access to aspiring &
established Indian actors, models, singers , music -
directors , dancers , directors , story / song writers,
cameraman , film-editors , production , technicians male
models under one roof . Actress and female models, preteen
models, teen models, kid models. If you have a dream to
become the one, then this is the right place for you. Just
See the Difference.This site is constantly viewed by movie
producers, casting directors, television commercial makers
,agencies.mail us your photos&videos email
mramnadham@yahoo.com 21\11\2008
| Is This Answer Correct ? | 2 Yes | 4 No |
Give the syntax to load function at run time.
Do we get any issues if we run the testscript on different browsers? what are the options we need to st in QTP?
How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.
what is test data
i have 100 manual test cases, how to automate from no 1. ols detail steps
How to invoke QTP using Dos prompt ?
There is one login screen,after accepting valid username and apassword, it will show the next screen. In the 2nd screen u r having 2 combo boxes, U have to select any item from these, and click OK button. After closing that, it will show the 3rd screen. If u click CANCEL button from 2nd screen it will show the first screen. Write QTP script for it???
How many types of trigger events are there in qtp?
If u r using descriptive programming to identify the object where do u write the script for those objects? do u write it in the expertview? plz do answer its urgent thanks advance.
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
Q- what is the advantage of merging tool in QTP 9.2?
What is Cross browser testing? Does UFT support it?