Completed
Last Updated: 11 Feb 2014 12:46 by ADMIN
ADMIN
Stoich
Created on: 14 Jan 2014 12:49
Type: Bug Report
0
Test fails sporadically with "unable to find element"
*customer's app - do NOT make this public

Hi guys,the following test (and others like it) fail sporadically.

You can run it 10 times successfully and then it will fail for no apparent reason with "Unable to Find element". As far as I can tell it's getting older DOM content.

Run attached test - I've create a Loop with 10 iterations - if you run it once or twice in IE/FF - you will see the issue at least once 
Attached Files:
1 comment
ADMIN
Iliyan Panchev
Posted on: 11 Feb 2014 12:44
The problem is that on step:12 the 'Span' element is still not enabled when the click occurs. You will need to add "Verify element('Span') is Visible" step with 'WaitOnElements - True' or a simple "wait for exist" step before the click occurs.