Geeks Talk

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.

I want to check selected and not selected radio button

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 ...

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 07-02-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 192 Times in 154 Posts
Geek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura about
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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-04-2009
Junior Member
 
Join Date: May 2009
Location: mubai
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
AutoNirmal is on a distinguished road
Re: I want to check selected and not selected radio button

i m alos facing same problem
Reply With Quote
  #3 (permalink)  
Old 06-04-2009
Expert Member
 
Join Date: Jun 2008
Posts: 212
Thanks: 6
Thanked 12 Times in 11 Posts
learqtptesting is on a distinguished road
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
Reply With Quote
  #4 (permalink)  
Old 3 Days Ago
Junior Member
 
Join Date: Nov 2009
Location: Delhi
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
lalitpathak17 is on a distinguished road
Re: I want to check selected and not selected radio button

When I'm using Radio Button, It is not working plz help me how to use it?
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


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


All times are GMT -4. The time now is 02:06 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved