Application_Check_Box_Checking - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Application_Check_Box_Checking (/Thread-Application-Check-Box-Checking) |
Application_Check_Box_Checking - chandan - 12-22-2011 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? 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 |