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 |
how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
Explain roles and responsibilites of 2yrs Automation qtp engineer.
I have a drop down box to show selected number of records in result page.It contains 4 items like 10, 25,50 and 100. when i was recordes script for seelcting each item and checking selecting number of records in the result page( it is in the same page in the table format)it is generating a new page with same controls( objects) in the OR. how to avaid these in OR? is it possible to write DP for only these lines?, remaining(remaingin lines of code) objects i want use from OR only. One more problemis if change ( add /remove properties of an OBJECT in OR , my ( recorded )application is not running.
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?
for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
What are the most frequent errors you faced while executing your scripts?
How do you invoke an application using the step generator in qtp?
. My application is updating the user information in the application. Every time it is Adding on record in my application and Validating the information like “Record has added successfully”. Which Check point I have to put in this situation? Why?
what is a file system object in QTP
QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?