I'm using UFT 12.54 on Angular JS2 objects, trying to determine whether or not various checkboxes are set and then set them accordingly, if necessary. When I recorded the script, these objects were seen as Webcheckboxes within WebElements. But when I added the objects to the OR via Object Spy only the WebElement objects were distinguished.
There are no Identification or Native property differences in the WebElement object when it is checked vs. when it is unchecked, so I want to use the WebCheckbox object. However, when I try to run the script using the WebCheckBox, UFT only sees the object's value as it was when it was recorded (i.e. I uncheck the box, save the changes and run the script but UFT still sees the checkbox as "ON"/selected/checked - like it was when I recorded the steps).
How can I get UFT to recognize the WebCheckBox objects and to read their actual runtime values (not the values during recording)?