yes u can check the status of the button u need to take the info from the application and u need to compare it with the actual value.
say u have a OK button which is enabled u need to check whether its enabled or not.
u can write a fnction
public function button_check(in object in status)
{
auto value;
button_get_info(object "enabled" value);
if(status value)
{
tl_step("button status check" PASS "button is enabled");
return E_OK;
}
else
{
tl_step("button status check" FAIL "button is not enabled");
return E_GENERAL_ERROR;
}
}
call this function
button_check("OK" "1")
any doubts pls revert