Geeks Talk

Prepare for your Next Interview




TO check if a checkbox is enabled/disabled.

This is a discussion on TO check if a checkbox is enabled/disabled. within the WinRunner forums, part of the Software Testing category; Hi..! Can anyone help me out with this? i need to find out if in a Web page a particular checkBox is in enabled/disabled status... Thanks..!...


Go Back   Geeks Talk > Software Testing > WinRunner

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-04-2008
Junior Member
 
Join Date: Feb 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
sandeepdesai7 is on a distinguished road
TO check if a checkbox is enabled/disabled.

Hi..!
Can anyone help me out with this?
i need to find out if in a Web page a particular checkBox is in enabled/disabled status...

Thanks..!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-04-2008
Expert Member
 
Join Date: Oct 2007
Location: Mumbai
Posts: 347
Thanks: 4
Thanked 54 Times in 44 Posts
bizzzzzare is on a distinguished road
Re: TO check if a checkbox is enabled/disabled.

Hi,

I guess you could use the "Obj_get_info" method to check if the checkbox is enabled or not.

In the GUI map ascertain the property that relates to checkbox being enabled or not. Pass this property to Obj_get_Info method along with the Checkbox logical name.

Obj_Get_Info("ObjectName", "Property", "OutputValue")

Extract the value stored in OutputValue and see whether checkbox is enabled / Disabled.

Cheers...
__________________
Regards,

V.Umesh Krishnan
QA Consultant
Reply With Quote
  #3 (permalink)  
Old 03-04-2008
Junior Member
 
Join Date: Feb 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
sandeepdesai7 is on a distinguished road
Re: TO check if a checkbox is enabled/disabled.

That worked..!
Thanks
Reply With Quote
Reply

  Geeks Talk > Software Testing > WinRunner


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Tab enabled property Geek_Guest QTP 1 02-27-2008 04:37 AM
Retrieve text attached with checkbox Geek_Guest QTP 1 11-09-2007 10:51 AM
Disabled Web Button Geek_Guest QTP 1 10-12-2007 04:37 AM
change checkbox color... psuresh1982 Web Design 0 07-09-2007 05:45 AM
dynamic checkbox and label... psuresh1982 JavaScript 0 07-09-2007 04:28 AM


All times are GMT -4. The time now is 10:29 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