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
Answer / amit
use Action Parameters to pass value from one acion to another
Is This Answer Correct ? | 3 Yes | 0 No |
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 |
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
Write the Test Cases for ATM(Any Time Money)
what r the main benefits of automation?
Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples?
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...
how to know no.of mails in our g mail by using vb-script
How will internal and external links be validated and updated? how often?
how can i pass a "cript"as a parameter in to a function
How to supress warnings from the "Test results page"?
what is the recovery scenario?
What r types of parametarizations?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?