ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

Webdriver control passes over to Next line before page is completely loaded in Chrome #976

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Team,

I have created the test using Webdriver. The test is working fine in Firefox. I 
want to extend my test to run in Chrome. But when I did that, my test got 
failed. The reason for failure is, the webdriver passes the control to the next 
line of execution even before the chrome loads the page completely. Due to 
which, my assertion on the page fails since the page is not loaded completely 
causing my test to fail. I dont want to use Thread.sleep since it will delay my 
execution. Please provide a solution for the problem.

Chrome Version : 38
Chrome Driver : 2.9

Many Thanks,
Ramkumar P.

Original issue reported on code.google.com by rams...@gmail.com on 18 Nov 2014 at 11:37

GoogleCodeExporter commented 9 years ago
can you try ChromeDriver : 2.12?

Original comment by andrewch...@chromium.org on 21 Nov 2014 at 8:14

GoogleCodeExporter commented 9 years ago

Original comment by andrewch...@chromium.org on 21 Nov 2014 at 10:54

GoogleCodeExporter commented 9 years ago
Hi,

The issue is resolved with Chrome driver 2.12. 90% of my tests are passed.
The remaining tests which contains Ajax controls are still failing. Those
tests are passed in Firefox. The code is written to sync with Ajax changes.

Original comment by rams...@gmail.com on 24 Nov 2014 at 6:28

GoogleCodeExporter commented 9 years ago
If loading issue is passed. we can close this issue.
Can you create another issue for Ajax controls which still having problem.
please provide the codes and details so that we can reproduce it.

Original comment by andrewch...@chromium.org on 24 Nov 2014 at 6:05

GoogleCodeExporter commented 9 years ago
Sure. We can close this issue. I will raise a new issue and provide more
details.

Many Thanks,

Original comment by rams...@gmail.com on 25 Nov 2014 at 5:50

GoogleCodeExporter commented 9 years ago
I have raised a new issue 979 for Message popup. Please refer the issue for
more details.

Original comment by rams...@gmail.com on 25 Nov 2014 at 7:06

GoogleCodeExporter commented 9 years ago

Original comment by andrewch...@chromium.org on 25 Nov 2014 at 6:26

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:26