The Citrix logon Simulator fails on initial manual testing of the script. Any suggestions?
IE opens
Log in - > OK
Does not start Notepad
Shuts Down IE
The Citrix logon Simulator fails on initial manual testing of the script. Any suggestions?
IE opens
Log in - > OK
Does not start Notepad
Shuts Down IE
Probably something to do with the version of IE you are running.
What happens if you on the server where the script is running run the following commands in a PS command window?
New-Variable -Name internetExplorer -Value (New-Object -ComObject “InternetExplorer.Application”) -Scope Global
$internetExplorer.Document.querySelector(“html”).outerHTML
We had exactly the same issue. The problem was that the name of the Logoffbutton in Line 99 was not correct.
Line 99: Set-Variable -Name SFLogOffLinkId -Value “menuLogOffBtn” -Option Constant -Scope Script
In our case it was “userdetails-logoff” instead of “menuLogOffBtn”.
You should try to replace that value. You can check the value with the following procedure:
<a title=“Disconnect” class="_ctxstxt_LogOff _ctxstip_DisconnectApps" id=“userdetails-logoff” role=“menuitem” aria-label=“Logoff” href="#">Logoff</a>
You need the value which is marked bold. Hope this helps you.
We had this issue, it was trying to launch 32 bit apps on a 64 bit machine, the script finds the app in storefront and clicks it but it never loads
running the tests on a 32 bit client works for us