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
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 |
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 |
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
In Remote acess server how u run a test?
Can anyone please tell me how to select next 5th business date from calendar using QTP/UFT ?
1 Answers Cigniti Technologies,
what is frame work of qtp?
I am having trouble understanding #1 how to paramaterize a userid and password that I need to call in about 25 existing scripts. I need to know how to Create a Reuseable action for 25 existing scripts that will call the exact same userid and password? I need to know how to create a Reuseable action and then have it called by existing scripts being run in a batch.
Could any one explain about the nested actions in QTP? This question is asked by Qualitree and CA
3 Answers CA, Qualtree Solutions,
Hi, Is there any function or vbscript in QTP to clear the cookies,sessions. Please help me in this.
Hi, how can we retrieve a specific value from Excel Sheet (Not datatable. for externel file).i mean to say from .xls file. and also tell me from xml file and .doc file. and how can u parameterize ur script from .xls file.(Not data table).
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"
What are the Features & Benefits of Quick Test Pro (QTP)..?
1) How will you associate SOR in Runtime? ( u had written 10 lines of code from 11th line u want associate what code u will write) 2) How will close n number of browser expect only one which is has to test? ( First tell me how will you identify how many browser are opened ) what logic u will use? 3) In web Table u want to click on link ( Link Name Mohamed ) you dont know in which row and column that link is there. how wil u identify and click on that link.