winforms - Clicking/Selecting Check box(s) in CodedUI Testing -
i'm trying create automation codedui testing script (using visual studio premium 2013) i'm trying click/select check box(s). have procedure codes names few nodes in procedure codes.
how make vs click check boxes?
thanks :)
check on calling getchildren()
on identified wintreeitem
. if in list wincheckbox
need define.
var checkbox = new wincheckbox(yourtreeitem); checkbox.tryfind(); mouse.click(checkbox);
now worth mentioning codedui
provides wincheckboxtreeitem
type of control. might bind desired check box well.
var treecheckitem = new wincheckboxtreeitem(yourwintree); // add search properties display text treecheckitem.tryfind(); treecheckitem.checked = true;
Comments
Post a Comment