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
can test automation improve test effectiveness?
Explain qtp(quick test professional)?
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
How to find the name of the machine where you are running your automation scripts in qtp?
Explain advantages and disadvantages of ddf?
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
Explain calling sub procedure.
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
How can you give wait up to 10 seconds 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
hi nani my doubt is how does qtp process metrix related to software process.
With what extension you can save the list of tests in a file to run in test batch runner?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?