Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on I want to check selected and not selected radio button within the QTP forums, part of the Software Testing category; I am new to QTP and using QTP 8.2. There are two radio buttons in a web page and by default first one is selected. User can select any one ...
|
|||||||
|
|||
|
I want to check selected and not selected radio button
I am new to QTP and using QTP 8.2. There are two radio buttons in a web page and by default first one is selected. User can select any one of them. Now when user comes to this page first time, I want to check that first radio button is selected and second one is not selected. How can I do that? Thanks.
Question asked by visitor Aakash |
| Sponsored Links |
|
|||
|
Re: I want to check selected and not selected radio button
Hi there,
You have manipulate your test logic. below is example of how to select radio button - there are two radbut (1) Checking and (2) Saving for i = 1 to 2 if i = 1 then browser("b").Page("p").WebRadioGroup("rb").Select "check" else browser("b").Page("p").WebRadioGroup("rb").Select "saving" End If Next |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Selecting Radio Button | JobHelper | QTP | 4 | 03-17-2009 10:49 AM |
| Selected in patani computers (pcs) | JIGAR_THAKOR | Success Stories | 4 | 05-08-2008 10:43 AM |
| While running Test script the value of drop down is not getting selected | Geek_Guest | QTP | 2 | 07-11-2007 03:36 PM |
| selected index name and value | psuresh1982 | HTML & CSS | 0 | 05-21-2007 07:47 AM |
| Usage of check-in and check-out in designer | sanghala | Data Warehousing | 2 | 03-07-2007 02:29 AM |