Forum Discussion
tristaanogre
15 years agoEsteemed Contributor
Actually, the number of tabs does not necessarily equal the number of iexplore processes that are generated. This is variable and is dependent upon CPU, RAM, etc. So, assuming iexplore3 is your tab that you need to close is not accurate.
I don't have it RIGHT at my fingertips but there's a thread on the forum up here somewhere that describes a registry edit for TabProcGrowth which will force Internet Explorer to always open as a single process.
What you need to do instead of closing the process is to actually map the specific page object and buttons/components from that page so you can interact with them. Take a look at the various topics starting here http://smartbear.com/support/viewarticle/12449/. While recording and depending upon TestComplete to map your objects is a good starting point, inevitably you'll run into situations (as you just did) where you will need to manually edit, update, change, delete, add, etc., NameMapping objects to your project in order to make it reliable.
I don't have it RIGHT at my fingertips but there's a thread on the forum up here somewhere that describes a registry edit for TabProcGrowth which will force Internet Explorer to always open as a single process.
What you need to do instead of closing the process is to actually map the specific page object and buttons/components from that page so you can interact with them. Take a look at the various topics starting here http://smartbear.com/support/viewarticle/12449/. While recording and depending upon TestComplete to map your objects is a good starting point, inevitably you'll run into situations (as you just did) where you will need to manually edit, update, change, delete, add, etc., NameMapping objects to your project in order to make it reliable.