Page 1 of 1

Selenium Grid Fails while passes on Local

Posted: Tue Jun 19, 2018 4:40 pm
by csolanki
Hi Team,

I am facing an issue in which, my tests are passing perfectly in local but fails when I run on Selenium grid. I have figured out may the reason is, chrome is not opening as maximum window, due to which it is not able to identify the elements correctly, as my website is not adaptive.

what would you suggest ?

Thanks.

Re: Selenium Grid Fails while passes on Local

Posted: Wed Jun 20, 2018 9:04 am
by odklizec
Hi,

If your script fails because of not maximized browser window, then the obvious solution is maximizing it ;) The problem is, that Selenium seems does not support maximizing browser window...catch 22 :D However, it should be possible maximizing it via Java script?

Re: Selenium Grid Fails while passes on Local

Posted: Wed Jun 20, 2018 3:01 pm
by csolanki
Hey,

:lol: I know that, but wanted to know how. Mentioned link throws 404 error.

I have one more query, I have around 25 key sequence in my test case which all passes on local but when I am running test on selenium grid it fails for around 12 key sequence. I am not able to find any relevancy among them. What do you think, could be the case.