Reputation: 41
I'm testing a scenario where I click on a button and below dialog appears. It's only possible to click on 'Update'
I have put following in my test scenario:
Click Element jquery=a.newOrder
Click Element Link=Update
I receive following error message after running the test: Element is not clickable at point (1023, 127.19999694824219). Other element would receive the click:
The only HTML code that is related to the Update is
<a href="orderModule?orderCode=0009502064&edit=true">Update</a>
I also try to test this with alert but no alert is found...
Can someone explain me what I need to do?
Thanks!
Upvotes: 0
Views: 64
Reputation: 89
Explaining your scenario :
When you click update, a pop will be shown. You have to add a Wait until page contains element in any of the elements in pop up and then wait for the element you need to click. After the element is visible and focus is on the element. Click the element. If you get error in this, try to add selenium timeout for command execution speed or add a sleep to check whether the element loads slowly.
Upvotes: 1