Answer Posted / sunil reddy
We will defeinitely pass the parameters to Function
Try with this Example
First parameterize the Agent name with invalid data like sun
Dialog("Login").Einedit("AgentName").Set datatable.Value
("Agent")
Call the function
Function Login(Sunny)
Dialog("Login").Einedit("AgentName").Set datatable.Value
("Agent1")
End Function
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
How to find the difference between 2 dates in qtp?
Explain how you can find length of array in qtp?
What is RTM (require ment tracebulity marix) fromate?
Hi Samrat, Thank u very much, what u said it is right.
In qtp, explain what is qrs file?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
What are the features of quick test pro(qtp)?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com
wht type of User defined functions or Java Releated functions Do we write in VB scripting
What ate the Technologies supported by QTP?
What is reusable action?
Who uses qtp tool?
Both static and dynamic arrays are handled by the vb script. Is it true?
Explain data driven framework?
1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins