Geeks Talk

Prepare for your Next Interview




Multiple checkboxes of same object name; I need to click a specific. How do I go abt

This is a discussion on Multiple checkboxes of same object name; I need to click a specific. How do I go abt within the Rational Robot forums, part of the Software Testing category; Hi Folks, I have a mailbox application wherein there are 10 Checkboxes adjacent to espective mails. I need to select only a particular checkbox corrponding to that e-mail. I ...


Go Back   Geeks Talk > Software Testing > Rational Robot

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-21-2007
Junior Member
 
Join Date: Apr 2007
Location: US (Arizona)
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
arnoldrocks is on a distinguished road
Multiple checkboxes of same object name; I need to click a specific. How do I go abt

Hi Folks,
I have a mailbox application wherein there are 10 Checkboxes adjacent to espective mails.
I need to select only a particular checkbox corrponding to that e-mail.
I tried recognizing by indexes, but the index may not be the same always.
How do I go about it?
Thx
arnie
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-19-2008
Junior Member
 
Join Date: Apr 2008
Location: Mumbai
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
singh.mukesh is on a distinguished road
Smile Re: Multiple checkboxes of same object name; I need to click a specific. How do I go

hi arnold,

You can give it a try by using multiple properties as a combination for the identification.

like you can use
data = "1 - checked"
SQASetProperty("type=Checkbox;name=chkname;index=3;caption=xyz","Value", data)
Reply With Quote
  #3 (permalink)  
Old 08-29-2008
Junior Member
 
Join Date: Aug 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
shashissk is on a distinguished road
Re: Multiple checkboxes of same object name; I need to click a specific. How do I go

Simple thing you can do is Use the Object ID to click on it
Sure it should work
Reply With Quote
Reply

  Geeks Talk > Software Testing > Rational Robot


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Unable to start the specific test. JobHelper QTP 1 06-23-2008 04:03 PM
Code to click on 6 button Geek_Guest QTP 8 09-16-2007 01:39 PM
How do we catch click event? prakash.kudrekar VB.NET 5 04-30-2007 10:23 AM
Menu found disappeared and Right click does not work sagar007 Geeks Lounge 0 02-21-2007 04:29 AM
multiple inheritance.... psuresh1982 Java 2 01-22-2007 12:57 AM


All times are GMT -4. The time now is 12:56 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved