How to pass parameters into an action.Please explain me
with examples
Answer Posted / rayudu
I know that what u have explained.But how to use those
parameteres in a an action.I want the script that how to
use input action parameters.That is why I already asked
that I want explanation with examples.
suppose I want to pass 2 values for a,b and would like to
get the result in "c". see below code
c=int(a)+int(b)
How should I pass parameters here and how should i write
the code for passing parameters.How should i call that
action. give me the detailed exp..
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
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
how will you load the test cases in ddt?
Differentiate the type of test cases which can be automated and which cannot be automated?
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
If I change the property value at runtime is it effect is object repository?
What are the differences between quicktest professional (qtp) and winrunner?
Explain features of the latest version of qtp/ uft 12.1?
How to use setroproperty?
If you are testing a web application then what will you test in that application?
How do know the number of browsers opened?
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
Explain quicktest professional testing process?
What is the difference between a Function and Action in QTP?
How to interact tool & application build in QTP?