Scripts does not execute properly on another PC with internet explorer 11: Need to remove IE 32 bit
Hi,
Both PC are with windows 7 pro with IE 11.
Script that I create on one PC does not execute properly on another machine.
I have discover that on the other machine I need an extra index on the web page. Sometimes not. It changes randomly
The first PC
Sys.Browser("iexplore").Page("http://" + IP + "/").Panel(0).Panel(1).Link(0).Click()
The second one
Sys.Browser("iexplore").Page("http://" + IP + "/", 1).Panel(0).Panel(1).Link(0).Click()
On the second one I have 2 process internet explorer. one 32 bit and another 64 bit.
iexplore.exe
iexplore.exe *32
How do I get rid of the 32 bit version??
Thanks.
Help is appreciated.
Hi all,
I have found a good workaround. Each object that I access on the web page I do a find. And this solve my issue of the page index.
propStr = ["namePropStr", "Visible", "VisibleOnScreen", "ObjectType"] valueStr = ["logout.jsp", True, True, "Link"] adminPageLogoutObj = Sys.Browser("iexplore").Find(propStr, valueStr,60,True) adminPageLogoutObj.Click()
This way I dont have to manage IPs, page names or indexes and the code is more robust but need to write more lines.
I would of like to deactivate the 32 bits version of iexplore.exe but this will suffice.
Thanks for your help.
Stéphane.