Forum Discussion
AlexanderM
Staff
15 years agoHi Deepti,
The first name is generated with the use of the Web Testing plug-in, but the second name can be seen when the MSAA plug-in is used. Let's take a look at the following example:
If you open the "http://www.automatedqa.com/products/" page in IE 8 (don't have IE7 at hand right now) and enable the Web Testing plug-in, you will see the following name for the "Try it" link below TestComplete's logo:
NameMapping.Sys.Process("iexplore").Page("http://www.automatedqa.com/products/").Form("aspnetForm").Panel(1).Panel(0).Panel(4).Panel(1).Table(0).Cell(0, 0).Panel(1).Link(0).Image("tryit_gif")
If you enable the MSAA plug-in, and enable the "Internet Explorer_Server" item in the list of window classes accepted by MSAA, you will get a different name:
NameMapping.Sys.Process("iexplore").Window("IEFrame", "AutomatedQA Products - Windows Internet Explorer", 1).Window("Frame Tab", "", 1).Window("TabWindowClass", "AutomatedQA Products - Windows Internet Explorer", 1).Window("Shell DocObject View", "", 1).Pane("AutomatedQA Products").Table(0).Cell(0).Link(1).Graphic("Download a fully functional trial")
The nature of the difference in my example is the same as in yours.
To avoid names confusion, I recommend that you disable all items in the "Open Applications | MSAA | List of accepted windows" list in your project settings (not if the Default Project settings) if you are not using MSAA for your testing purposes.