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 Port testing. Whhen will you perform?
Hi All, How to get repeated word in string . Thanks Balaji
How to use the object spy in quicktest professional (qtp) 8.0 version?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
Explain different checkpoints in qtp.
How can i check items sorted or not in a weblist ? Give me the script for this...
How to modify the text checkpoint?
what is run action?
How many tabs are available in debug viewer pane?
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
If I change the object name in one action will it be updated in all the actions? Or not?
How you can delete excel file in qtp?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?