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

I have a login page like username, password and login. I have to pass the 50 user names and 50 passwords but how can i test this page with out using parameters?

2 Answers  


What are the different types of recording modes?

0 Answers  


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

0 Answers   TCS,


What will be the script for recovery scenerio.plzanyone give ans with aexample related to banking project

2 Answers   Yahoo,


What is the difference between Accessibility Checkpoint and Bitmap Checkpoint in QTP? Note: I have read it in QTP help but i dont want answer from that.......

1 Answers  


Please let know the scripts for counting number of repeated letters in the word. Note repeated letter should not be count agian. Ex: If "Hello" is my word... l is coming twice.. it should count once and print... secong 'l' should not count again..

5 Answers  


Hi, OUR PROJECT NAME IS: HOSPITAL CONTROL SYSTEM. IS IT COMES UNDER WHICH DOMAIN(HEALTH CARE OR HEALTH INSURANCE)

4 Answers   Four soft,


How to Import data from a ".xls" file to Data table during Runtime.

1 Answers  


What are the two types of repositories available, explain them?

0 Answers  


Differentiate the type of test cases which can be automated and which cannot be automated?

0 Answers  


What is the difference between Image Checkpoint and Bitmap Checkpoint?

8 Answers  


Explain different types of checkpoints?

0 Answers  


Categories