IE browser consistency
My project will work in only on IE browser. I have developed all scripts for my project will executing once it will pass and another time will fail.
In the scenario i have to switch windows around ten times has to come bake main window on that time is giving problem please some one will guide me.
Thanks in advance.
Most probably you are not using WAIT on your windows and time of loading windows are not always same, some time its takes few second, as Ankit has suggested above and Selenium immediately try to find the element and gets fail. Try using Implicit Wait and Expected Condition Wait or use Thread Sleep, hopefully it will resolve your issue.
I would suggest you to go through the below two chapters on WAIT & SWITCH:
Do not forget to mark your question as ANSWERED, if your query is resolved.