Forum Discussion

Ranjini_'s avatar
14 years ago

IE8 object ID changes dynamically

Hi

Testing application is a web based document search engine, currently automated by running application on IE8 browser. The main application object ID is displayed as Sys.Process("iexplore", 2).Page("*").Form("aspnetForm")....  when we search for documents, these will be listed as links (like google) and when we click on an HTML document, it should open in IE8 window. The window is customized for the application. Sometimes, document window ID is displayed as Sys.Process("iexplore", 2).Page("*").Form("aspnetForm") and some times it will be Sys.Process("iexplore", 3).Page("*").Form("aspnetForm") Because of this issue, while running the script, some times the log message "object does not exists" occures. How can I resolve this issue?