I have got a TreeView object which has got some options and check boxes against them.
I can check or uncheck a particular box by the code -
TreeView("Label='itObj1'").Type (" ") 'for sending space
now before i tick this checkbox by typing space, i want to find out whether it was already checked or not.
how can i do that.
Test Partner V6.1
SQL server 2K, 2K5
Generally if its .Net Tree then Get a native object like
TR will be Native .Net TreeView. After this one can use the Checked State property of the node.
By Using below code you will get solution:-
If TreeView("Label='itObj1'").Exist Then
If Not HTMLCheckBox("ID=chkInd").Checked = 1 Then