Hi let me ask one questin

1.How to use outputof the one function input to the another
function
pls give the script for above


2.what is the purpose of action parameter , how to create it

Answers were Sorted based on User's Feedback



Hi let me ask one questin 1.How to use outputof the one function input to the another function ..

Answer / sup

Action Parameters can be created in this way:-


Right-Click on Action in Keyword View
Click on Action Properties
Select Parameters Tab

***********Action input parameters*********
Click on "+" and add the input Variables with their
respective datatype and their Values

***********Action output parameters*********
Click on "+" and add the output Variables(o/p Var name)
with their respective datatype
Note- Here there is no Default Value tab

++++++++++++++++++++++++++++++++++
Once you have created Action Output Parameters
write in the Expert View of the same action
Parameter("o/p Var name")="pass"(you can give any values)

************
and then yopucan call this action in any other actions
within same or different test

Is This Answer Correct ?    1 Yes 1 No

Hi let me ask one questin 1.How to use outputof the one function input to the another function ..

Answer / dimple

Passing the parameters from one action to another. Here is
an example.
'Action1 script
dim var
var=Parameter("t") 'Input parameter
msgbox(var)

Parameter("a")=89 'Output parameter

Create anothere action action2
RunAction "Action1",oneiteration,"20",x
Msgbox(x) 'First action output parameter comes to action2
automatically

Exit run

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the extension of script and object repositary files?

2 Answers  


How the QTP recognize, handle n reports that a error has been handled by it(QTP) when we perform a recovery scenario in our application n in what manner it will display it in resulting window? Plz help me out.

1 Answers  


how many wayes we do the parameterization?

1 Answers  


Hi, Is there any function or vbscript in QTP to clear the cookies,sessions. Please help me in this.

6 Answers  


what is the mail use of frame work(with detail). architecture for keyword driven frame work

0 Answers   Persistent,






write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?

1 Answers  


What is QTP?

3 Answers   Crea,


The hybrid framework can be implemented for any application. Is it true?

0 Answers  


Is manual Testing replacement of automation testing?Which types of testing we can not do in automation testing but can do in manual testing?

1 Answers   Hewitt, Wipro,


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

0 Answers  


How you handles Pop-up windows which are Dynamically changing in Runtime?

2 Answers  


Does QTP provides any tools for parametarization?

3 Answers   BirlaSoft,


Categories