How can I pass values from one action to another in QTP ?
Answer Posted / sanju_gdk
using parameter u can pass the values with out using action
finction
action1
Parameter("variable")= outputvalue
action2
x=parameter("Variable")
Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
Is it possible to merge two object repository files in qtp?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
How do I get the QTP scripts result in xml format by using vb script function?
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
Hoe can we do retesting using functions please give the code for it using login page
How to give a call to another action from one action?
Mention what are the different types of recording modes in qtp? Which will be used when?
how u will evaluate the tool for test automation?
Explain the Different types of QTP test assets and their extensions?
What is the keyword view and expert view in qtp?
How do you synchronization point through DP?
What is throw Object?
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u
What is the default object synchronization timeout in qtp?