For Passing Parameters from one Action to another Action we
will use Input & Output parameters. Can any one tell how to
use this Input & Output parameters with Example ?
Answer Posted / saravanaraja
write the following script in Action1
dim a,b
a=10
RunAction "Action2",oneiteration, a,b
msgbox b
here a is the input parameter & b is the output parameter.
click Action 2 properties and give input parameter as a &
output parameter as b.
Write the following script in Action2:
dim c,d
c=parameter.item("a")
c=c+20
parameter.item("b")=c
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
breef description of batch testing ?
How to release all resources file from the QTP?
Explain how qtp identifies object?
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints
Explain the concept of object repository?
How many types of recording modes in the qtp?
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
What is the difference between a Function and Action in QTP?
tell me QTP standards ?plz
What is environment variable in qtp and why to use it?
How to check which add-ins are associated with a test in qtp?
can u explain relative path architecture framework in qtp?