Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / ashish

hi, What you can do is
Create a function which accepts a parameter (Index #).
Pass the index number to the radio button u need to click.

Is This Answer Correct ?    35 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Distributed testing? How does UFT support it?

1048


How will you test a keyboard?

1094


What test you perform mostly? Regression or retesting in your testing process?

1020


How to add object to object repository in qtp9.0 Suppose for brower yahoo home page

1842


What is the pros and cons between QTP and Rational Robot

3775


what function you write to do database testing with the help of qtp?

1827


Limitations in QTP?

2152


Is it possible to call from one action to another action in qtp?

1018


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1917


Have you used xml check point in your project? How?

996


can u explain relative path architecture framework in qtp?

2009


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

4593


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3934


Mention the test steps of qtp.

1003


I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?

2263