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
What is Distributed testing? How does UFT support it?
How will you test a keyboard?
What test you perform mostly? Regression or retesting in your testing process?
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
What is the pros and cons between QTP and Rational Robot
what function you write to do database testing with the help of qtp?
Limitations in QTP?
Is it possible to call from one action to another action in qtp?
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?
Have you used xml check point in your project? How?
can u explain relative path architecture framework in qtp?
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?
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
Mention the test steps of qtp.
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 ?