Forum Discussion

smaillou's avatar
smaillou
Occasional Contributor
6 years ago
Solved

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 w...
  • smaillou's avatar
    6 years ago

    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.