Forum Discussion

kaiiii's avatar
Regular Contributor
7 months ago

How to verify Button is disabled after click while It's immediately disappeard after click

How to verify Button is disabled after click... while Button is immediately disappeared on the page after click


I'm trying to Verify using  Object. Enabled ...but in this condition It's not able to identify object on the page because it's disappeared from the page.


Can anyone  help me on same using any other method or trick ?

1 Reply

  • rraghvani's avatar
    Champion Level 3

    Use the Object Browser to see if the button appears in the hierarchy, before and after clicking. Button disabled is different from existing, two different properties. You can use WaitAliasChild method, to check the existence of the object.