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 are the attributes of QTP?

3 Answers  


What is the maximum size of Object Repository in QTP 8.2?

4 Answers   Mphasis,


What is quicktest professional?

0 Answers  


PLZ EXPLAIN HOW TO LAUNCHING QTP IN TEST DIRECTOR? Is it possible or not? If No Why we r using qtp Td Combination? plz explain briefly? What is the purpose of TD With QTP?

1 Answers   Wipro,


Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this?

7 Answers   Accenture,






how to tell about testing a website in interview using qtp?? what r the points to be covered mainly?

2 Answers  


How to export QTP results to an .xls file?

10 Answers   IBM,


How u call functions in QTP Function to calculate the length of characters in a word -

5 Answers  


How to use library files in QTP? how we can call these files in to script?

4 Answers   Virtusa, Wipro,


in process of project exaplnation the defects are says frequently r not?

1 Answers  


The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....

1 Answers  


how to capture tool tip in QTP and which check point is needed

2 Answers   Syntel,


Categories