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
Explain data driven framework?
What is the difference between a Function and Procedure in QTP?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
what is profile tool?
How to use setroproperty?
how to test load test and block box testing an a web based application pls give ans briefly
What are the steps involved in recovery scenario wizard?
What is the extension of the recovery scenario file in qtp?
Explain how Selenium is different from UFT?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
When to use descriptive programming?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
What are the methods used in UFT to handle exceptions or run-time errors?
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.