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
What is reusable action?
Why bpt?
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.
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
How does you test a weblink which is changing dynamically?
What is the purpose of loading qtp add-ins?
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
Can any one send me the QTP Basic Coding Samples?
How to get the particular property value?
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
What is the limitation to XML Checkpoints?
Explain the concept of object repository and how quicktest professional recognises objects?
What is the pros and cons between QTP and Rational Robot
Define Environment Variable in UFT and its uses?
How you can delete excel file in qtp?