How to pass parameters into an action.Please explain me
with examples
Answer Posted / pk
First you have to declare the Input/Output Parameters in the
Action Properties (Right click action icon and select). Then
you can access these parameters through the Parameter object.
Say you have declared two Input parameters
a (as number, value= 25) and
b ( as number, value = 30)
Then you can access these Action input parameter with in the
action using
c = parameter("a")+parameter("b")
msgbox c (should display 55)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
when will you do debug your script? and explain that process?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
Explain the difference between data driven testing and parameterization ?
How to change the priorities of the recovery scenario properties?
give me an example where u used good judgement and logic in solving a problem
What are the recording modes in wave event?
Can we write winrunner language i.e TSL in QTP tool?
What test cases can you automate using QTP?
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
how do i know how to use tools
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
whow much strong on VB and C?