I have 1 to 10 action are there, i want action1 output
becomes to action 10 input? pls any can give script for
this scenario?
Answers were Sorted based on User's Feedback
Answer / pankajb
It's Very Simple
Just, get the output value store in the data table with
appropriate column name.
And when using it in another action just give the name of
the sheet and then name of the column where that output
value is stored.
pankaj_behl@hotmail.com
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / pratap
We Can Use Environment Parameters to over come this
problem ,,
Ex : Environment("Name")="Pratap"
Think pratap is output of first action . If you declare
it as environment parameter you can use in any action.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / karunakar
Example:
Inpt1=RunAction Action1(OneIteration), here we get the
output of Action1 into Inpt1 and the same is used as
parameter for Action10.
RunAction Action10(OneIteration,Inpt1)
Is This Answer Correct ? | 1 Yes | 2 No |
Answer / christopher thirumaran
All above ans are wrong.
We need to create Action-Parameter for both Actions.
For eg.
in Action1_Properties:(Input-Parameter: InputName, Type)
'Assigning the InputName value to the Variable
in Action1_Script: Action1_Param=Parameter("InputName")
in Action10 properties (Output-Parameter: OutPutName,
Type)
THEN
RunAction "Action1", OneIteration
RunAction "Action10", OneIteration, OutPutName
Tats all.
Is This Answer Correct ? | 0 Yes | 1 No |
How Does Run time data (Parameterization) is handled in QTP?
What exactly is the difference among all the three recording modes.
What are the various versions of QTP that have been released so far? Please also mention the year of release for each version
How will you handle custom object in QTP?
need clear explanation of actions and functions in qtp with examples?can anyone suggest me gud site for that other than qtp manual?
What are the benefits of quick test pro(qtp)?
What type of framework you are using in your company and explain it?
What is the default object synchronization timeout in qtp?
Hi,i have 3 years of experience in manual and Automation qtp.present i am searching for job in automation qtp 2Yrs,How to Explain the interviwer Roles and Responsibilites.please help me.
could any help me please, how to work on visual foxpro application using UFT
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH