Thursday, June 4, 2009

Checking the status of a checkbox

Browser("MonsterIndia.com - More_2").Page("MonsterIndia.com - More").WebCheckBox("ctp").Set "ON"

var_ChkStatus=Browser("MonsterIndia.com - More_2").Page("MonsterIndia.com - More").WebCheckBox("ctp").GetROProperty("checked")

msgbox var_ChkStatus '1

Browser("MonsterIndia.com - More_2").Page("MonsterIndia.com - More").WebCheckBox("ctp").Set "ON"

var_ChkStatus=Browser("MonsterIndia.com - More_2").Page("MonsterIndia.com - More").WebCheckBox("ctp").GetROProperty("checked")

msgbox var_ChkStatus '0

No comments:

Post a Comment