Forum Discussion

jhgreen's avatar
jhgreen
Contributor
12 years ago

Unable to disable error message The window is disabled.


I have a test that is trying to verify that the clicking on a tab when a modal window is present does not navigate to that screen. The problem I encounter is that I get an error message The window is disabled. The action cannot be executed.



I have tried several things but no luck.



- checked the enabled property and it shows true even with modal window present

- Set ignore unexpected window on as well as ignore overlapping window



Any suggestions.



Thanks,

Jeff


1 Reply

  • NisHera's avatar
    NisHera
    Valued Contributor
    Hi,

    As far as I could understand your problem, you have correct response from the test,

    and you need to go forward without stopping test...?



    Did you tried any methods of that window with "Wait......"

    Usually I'm using something like  "WaitProperty("Exists",true, 1500)"



    or else you may handle it project events ...OnlogError.