Hi,
I want to click on a button. I can do it by using button.Click() method.
Let's say button is overlapped by another pop-up window. We can interact with this button only after popup window is closed. For some reason popup window was not closed by script. Then the script tries to click the button. Button.Click() method tries to click the button but click takes place on popup window area overlapping the button. Hence click happened for ranorex script but in actual it didn't happen. No exception or error could be recorded for the same.
Do we have any way which can tell whether the button was actually clicked or not?
Regards,
Deepak
No Exception if element was not clicked
Re: No Exception if element was not clicked
Hi,
The only way how to tell an element was clicked is validating the outcome/element following the click. I don't think there is another way.
The only way how to tell an element was clicked is validating the outcome/element following the click. I don't think there is another way.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: No Exception if element was not clicked
Hi,
I just wanted to write the same as odklizec.
Try to validate whatever happens after clicking the button.
So, if there i.e. something shows up after clicking the button, you could validate if it really appeared with a simple validation action.
regards,
qwertzu
I just wanted to write the same as odklizec.
Try to validate whatever happens after clicking the button.
So, if there i.e. something shows up after clicking the button, you could validate if it really appeared with a simple validation action.
regards,
qwertzu