How to pass parameters into an action.Please explain me
with examples
Answer Posted / rayudu
Thanks for your reply Deepak! But my question is not that.
By using Action Parameters.EX: I would like to enter the
values in Parameter tab of the Action properties.
Name type Defaultvalue description
A Number 25 First value
B Number 30 Second value
My question is How should validate these values in a script
c=int(a)+int(b)
I am calling this action in another action like
RunAction Action1,Oneiteration
But it did not resulted 55.
I know how to pass parameters through datatable.
Please answer it if u know
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Hi, how can we check or avoid the memory leakage in QTP9.2?
How can you identify the browser and its information using the qtp script?
can test automation improve test effectiveness?
How to create a standard checkpoint ?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
what the difference between shared repository and per action repository?
Why do we use breakpoints in QTP?
What is qtpro?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
Shall we add Local Repository to shared object repository,if yes,how we add
Why bpt?
What test you perform mostly? Regression or retesting in your testing process?
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
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak