script doesn't work with IE 10/11 and wptdriver

Hi,

the following script doesn’t work in IE 10/11:

ignoreErrors	1
logData	0
//Artikel	1 in WK
navigate	https://www.otto.de
exec	document.querySelector('.js_searchField').value='hosen';
execAndWait	document.querySelector('.js_submitButton').click();
execAndWait	document.querySelector('#san_searchResult section div:first-child a').click();
execAndWait	document.querySelector('#addToBasket').click();
//Artikel	2 in WK
navigate	https://www.otto.de
exec	document.querySelector('.js_searchField').value='schuhe';
execAndWait	document.querySelector('.js_submitButton').click();
execAndWait	document.querySelector('#san_searchResult section div:first-child a').click();
execAndWait	document.querySelector('#addToBasket').click();
//Artikel	3 in WK
navigate	https://www.otto.de
exec	document.querySelector('.js_searchField').value='pullover';
execAndWait	document.querySelector('.js_submitButton').click();
execAndWait	document.querySelector('#san_searchResult section div:first-child a').click();
execAndWait	document.querySelector('#addToBasket').click();
//Artikel	4 in WK
navigate	https://www.otto.de
exec	document.querySelector('.js_searchField').value='socken';
execAndWait	document.querySelector('.js_submitButton').click();
execAndWait	document.querySelector('#san_searchResult section div:first-child a').click();
execAndWait	document.querySelector('#addToBasket').click();
//Artikel	5 in WK
navigate	https://www.otto.de
exec	document.querySelector('.js_searchField').value='adidas';
execAndWait	document.querySelector('.js_submitButton').click();
execAndWait	document.querySelector('#san_searchResult section div:first-child a').click();
execAndWait	document.querySelector('#addToBasket').click();
//WK-Aufruf
logData	1
navigate	https://www.otto.de/order-system/basket

Seems to be a problem, testing IE with wptdriver.
With IE10 (http://www.webpagetest.org/result/140113_QJ_8ZZ/) and IE11 (http://www.webpagetest.org/result/140110_QR_PHK/) it doesn’t work (they use wptdriver on webpagetest.org). Up to IE9 (controlled by urlblast) it works:
http://www.webpagetest.org/result/140113_0W_A3D/

In our private instances the script works with urlblast and IE8 with wptdriver and IE10/11 it doesn’t work.

Regards, Nils

Last line of script-block adding an article to basket opens a modal layer:

execAndWait	document.querySelector('#addToBasket').click();

If I change the execAndWait to exec (which actually makes sense, cause no new page is load) it works for IE10. So my fault and this Thread may be closed for IE10.
But with IE11 I can’t get my test even started. Homepage gets loaded and nothing happens afterwards. Maybe another issue?

I may be experiencing a similar issue … i have a few tests that all seem to get stuck in IE11. So far, the only similarity between these tests is that:

  1. They’re scripted
  2. They have a navigate statement to a secure page (SSL)

Here is an example of a script:

[font=Courier]---------------------------------------------
logData 0
navigate https://

clickAndWait id=pch5-login

setValue id=loginname
setValue id=password

submitForm id=loginForm

logData 1
navigate https:///basket.aspx
---------------------------------------------[/font]

I’ve been watching my agents and the browser will sit on the first navigate forever … eventually it will timeout and continue picking up other jobs but that has taken as long as 30 minutes!

any ideas?