Answer Posted / amarendra kothuru
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 |
Post New Answer View All Answers
If object is not recognized by qtp but the object is standard object what is your approach?
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
how to do the batch testing in test director using manual testing procedure?
how to convert 100 into hundred repees only and viceversa
What are the advantages of Object Repository?
How many types of recording modes in qtp? Which will be used when?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
What is ObjectParamater?
Can you write a script to check if the folder exists or not?
Is it possible to merge two object repository files in qtp?
what is clean sweep?
Hai anyone please "Explain about Framework in QTP?"
What are the five challenges you faced in QTP?