Because another element obscures it

Sometimes , My test cases fails due to this reason because another element

Please anyone help me to resolve this issue

It’s obviously very difficult to advise you with so little information about your page…

  • If the obscuring element is under user control then try to avoid triggering the element in your test.
  • If the obscuring element cannot be avoided, then wait until it is removed from display before continuing your test steps.

If the above doesn’t help, then the element is likely ALWAYS obscuring your target element and the page is badly designed (suggest you talk to the developers).

If NONE of the above helps, then you have not described your problem clearly enough – please post the relevant snippet of HTML and the test code you’re using along with any errors you receive.

1 Like

Thanks :slight_smile: