12-22-2011, 10:18 PM
The application which i am working in is having some parent node and under that i have a child node.
By default the check boxes are already checked and it doesn't allow the user to uncheck those check boxes manually.
If i use this code to uncheck the check box it unchecks , how can this be possible?
or
second query is?
How do i check whether these check boxes cannot be unchecked?
using qtp, because manually if i try to uncheck the check boxes i cant do that , i know about it but how do i track it using qtp?
can any one please suggest on this?
You can refer the snapshot for more clearence.
Thanks,
Chandan H.K
By default the check boxes are already checked and it doesn't allow the user to uncheck those check boxes manually.
If i use this code to uncheck the check box it unchecks , how can this be possible?
Code:
SwfWindow("** Functional Testing").SwfWindow("Scenario Corr Risk").SwfTreeView("listItem").SetItemState 0,micchecked
or
Code:
SwfWindow("** Functional Testing").SwfWindow("Scenario Corr Risk").SwfTreeView("listItem").SetItemState 0,False
second query is?
How do i check whether these check boxes cannot be unchecked?
using qtp, because manually if i try to uncheck the check boxes i cant do that , i know about it but how do i track it using qtp?
can any one please suggest on this?
You can refer the snapshot for more clearence.
Thanks,
Chandan H.K