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 ?

Answers were Sorted based on User's Feedback



For Passing Parameters from one Action to another Action we will use Input & Output parameters...

Answer / amit

use Action Parameters to pass value from one acion to another

Is This Answer Correct ?    3 Yes 0 No

For Passing Parameters from one Action to another Action we will use Input & Output parameters...

Answer / 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

More QTP Interview Questions

I Have web table shown below ----------------------------------------| | orcut | GMAIL | NAUKRI | |----------|---------|-------------------| |HOT MAIL | MONSTER | VISIT FACEBOOK | |----------|---------|-------------------| |SKYPE ACC | IRCTC | GOOGLE | --------------------------------------- Here i have 2 question friends.. 1.i want to chick the link "VISIT FACEBOOK" is there or not if it's there i want to click the link 2.here how to find the web table row or column count ... don't write the excel or data table script here friends ..consider that it's a WEB TABLE

3 Answers   HCL,


Write the Test Cases for ATM(Any Time Money)

3 Answers   SpaceLabs,


what r the main benefits of automation?

2 Answers  


Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples?

1 Answers   TCS,


I have recorded a test using qtp to download a file in an application. Code: Browser("MFA Work Queue Manager").Page("MFA Work Queue Manager").Link("Rules Maintenance").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebEdit("txtSearch").Set "PmtType" Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Search").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Export").Click Browser("MFA Work Queue Manager").Dialog("File Download").WinButton("Save").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").Sync Dialog("Save As").WinButton("Save").Click Dialog("Save As_2").WinButton("Yes").Click Problem: When running this test it gives an error at line no. 5 as Save button object is not identified by it's parent object. This code I ran 4 times after recording at it was working fine but 5th time onwords, it starts giving me the above problem. I used exist property option, Check Property option but none of this changes work at all. Kindly help...

1 Answers   Bank Of America,






how to know no.of mails in our g mail by using vb-script

0 Answers   HP, Thinking Hats,


How will internal and external links be validated and updated? how often?

0 Answers  


how can i pass a "cript"as a parameter in to a function

0 Answers  


How to supress warnings from the "Test results page"?

4 Answers  


what is the recovery scenario?

1 Answers  


What r types of parametarizations?

6 Answers  


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

0 Answers  


Categories