Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
for Check box solution
#2
Solved: 11 Years, 4 Months, 1 Week ago
Hi,

Refer the below sample code & map it to your requirements.

Code:
Set chk_obj=Description.Create
chk_obj("micclass").Value="WebCheckBox"
    
Set x= Browser("xxxx").page("xxx").ChildObjects(chk_obj)
chk_count= x.count-1
Browser("xxx").page("xxx").WebCheckbox("ClassName:=WebCheckBox","index:="&RandomNumber(0,chk_count)).set "ON"
Reply


Messages In This Thread
for Check box solution - by samson - 02-04-2010, 11:08 AM
RE: for Check box solution - by sreekanth chilam - 02-04-2010, 02:36 PM
RE: for Check box solution - by samson - 03-12-2010, 12:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Scrambled characters in uft Solution Explorer Dwarak Calayampundi 0 1,545 05-25-2016, 05:02 AM
Last Post: Dwarak Calayampundi
  QTP not selecting appropriate webelement from the webtable..Need Solution satishkumarm 11 21,688 03-23-2016, 12:47 PM
Last Post: Swetha_Bayya
  Check Box Object Identification rakesh499 0 2,119 01-27-2015, 01:56 PM
Last Post: rakesh499
  I need some question with solution for practice of vb script please help excellentpawan 0 1,749 07-11-2013, 10:02 PM
Last Post: excellentpawan
  Default value in Edit Box when Check Box is checked nacchio 2 5,113 07-18-2012, 12:21 PM
Last Post: sree.85

Forum Jump:


Users browsing this thread: 2 Guest(s)