Is the script written in Testcomplete is browser version dependent?
Hi,
We are using DOM model to identify the objects, pages and windows and written script for IE7.0 with TestComplete8.0. The script which is written in IE 7,0 is not working in IE 8.0. We are creating IE instance and navigating the url by using the below VB script code.
Set objExplorer = CreateObject("InternetExplorer.Application")
objExplorer.visible = True
objExplorer.navigate sourceURL
Sys.Process("IEXPLORE").IEFrame(0).Maximize
objExplorer.navigate “http://www.google.com”
above code is creating only one instance and that can be seen in “Object Browser” of TestComplete with IE7. But when same code is executing with in the machine which is having IE8.0, two instances are creating and other operations are stopping because of second instance. Could you please suggest how to eliminate the second instance?
Object identifying with Object Spy:
code for IE7.0 : Sys.Process("IEXPLORE").Page(“*”).document.all.Item("overridelink")
Code for IE8.0: Sys.Process("IEXPLORE", 2).Page(“*”).document.all.Item("overridelink")
Note: We are using Winodows XP professional as OS. Does the OS matters?
Regards,
Vinod