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 are the advantages of parameterization ?

585


How to attach a file to TD?

640


Tell some commonly used Excel VBA functions?

585


please post the interview questions for QA position in FACTSET

3930


when to start the automation?

1466






There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code

1193


How to start recording using quicktest professional (qtp)?

584


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

546


HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.

1608


How to find Operating system information using QTP script?

562


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

1358


What are the general steps involved in the data driven framework?

540


What is ObjectParamater?

1561


Why is action split used by qtp?

545


How to add synchronisation points in qtp?

565