I have multiple radio buttons i need to select a radio
buton and i dont want to hard code i have a generic
function for it there i have used select#0 so it selects
first radio button but for other script i want to select
the 4th radio button how i can make it still more generic
Answer Posted / rahul
use select #x
pass the x as a variable
| Is This Answer Correct ? | 23 Yes | 5 No |
Post New Answer View All Answers
What is the extension of the recovery scenario file in qtp?
What is environment variable in qtp and why to use it?
what is test scheduleling?
If you are testing a web application then what will you test in that application?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
What is the difference in the global and action sheet in qtp?
What is the basic concept of quicktest professional?
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
desribe a situation where u faced a stressful situation and how did u cope with it
What environment does qtp run in?
What are the disadvantages of recording test cases in qtp?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
write script for bitmap image?