Forum Discussion

ashwini_1's avatar
ashwini_1
New Contributor
14 years ago

Need help in Identifying windows Pop Up

Hi Team,

 


I am using test complete 8.5 with IE8.0

 


I want to import one file using windows dialogue box, you can check in attached Img3.JPG

 


However to identify that dialog box, Test complete  is creating One more IE process at runtime and adds this dialogue box into Process(IE2) instead of Process (iexplore) you can check that in screen shot Img1.JPG and Img2.JPG

 


Due to this behavior the File object is not getting identified at run time and the script fails.

 


I went through the Smart bear knowledge article and come to know this happen only in IE 8 and above version

 


Can you please suggest me How I need to handle this In proper way.

  • Hi Ashwin,



    The behavior you observe is typical for Internet Explorer 8 and later versions, and this behavior takes place due to Microsoft's Loosely Coupled IE (LCIE) concept introduced in this version. In a nutshell: there's one master instance of the iexplore process, plus a separate instance of the iexplore process for (almost) every open web page. The dialogs invoked by the pages are created in page instances of IE, but not in the master instance. In addition, in TestComplete, the respective Page object is available in both instances of the iexplore process.

    Therefore, you may address the page instance Process("iexplore",2) to work with the page and its Open dialog. To learn more about the specifics of the IE multi-process nature, see the Access to Web Pages topic.

    Alternatively, you can disable LCIE and force IE to open all the pages in one instance of the iexplore process, see the instructions in the Preparing Web Browser topic.



    Good luck.