Citrix Logon Simulator

oh so you mean ‘Notepad ImageRight’ NOT ‘\Notepad ImageRight’ ?

Ok I’ll just edit the csv in Notepad. When you do ‘Notepad ImageRight’ in a cell in Excel it drops the first ’

As always…thanks.

ye you will have to add them back in on notepad or some other editor

ok now I’m seeing SF resource errors:

[06/13/2018 10:36:02.001]: Password: *****
[06/13/2018 10:36:02.001]: ResourceName: Notepad STS
[06/13/2018 10:36:02.001]: Creating Internet Explorer COM object
[06/13/2018 10:36:02.533]: Setting Internet Explorer visible
[06/13/2018 10:36:02.564]: Navigating to ‘https://storefront.comp.local/Citrix/compweb
[06/13/2018 10:36:44.503]: Accessing DOM
[06/13/2018 10:36:44.784]: Detecting NetScaler Gateway or StoreFront login form…
[06/13/2018 10:36:45.081]: Try #1: SUCCESS
[06/13/2018 10:36:45.081]: STOREFRONT DETECTED
[06/13/2018 10:36:45.159]: Getting Login button
[06/13/2018 10:36:45.159]: Getting UserName textbox
[06/13/2018 10:36:45.159]: Getting Password textbox
[06/13/2018 10:36:45.362]: Setting UserName ‘comp.local\svclogonsim’
[06/13/2018 10:36:45.425]: Setting Password
[06/13/2018 10:36:45.487]: Clicking login button
[06/13/2018 10:36:45.550]: Getting SF resources page…
[06/13/2018 10:36:45.550]: Try #1: WAIT
[06/13/2018 10:36:46.706]: Exception caught by script
[06/13/2018 10:36:46.722]: SF recources page not found
[06/13/2018 10:36:46.722]: At C:\Monitoring\Citrix\Scripts\Test-CitrixApp.ps1:282 char:9

  •     throw "SF recources page not found"
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

[06/13/2018 10:36:46.737]: Quitting Internet Explorer
[06/13/2018 10:36:46.862]: Releasing Internet Explorer COM object
[06/13/2018 10:36:46.878]: *************** LAUNCHER SCRIPT END ***************

Hi Peter. Well after changing to csv I’m back with this same issue for the app. I’ve ensured it’s in the Trusted Site as well as reset the zone security to low. I also made sure the machine is not in any OU that gets GPOs. I also increased the timeout for the session from 30 to 60 and it just waits another 60 and then fails with the same error. Any other ideas here?

FYI: when using the json it works and when running the script manually and passing the parameters in the cli works.

[06/15/2018 08:22:11.945]: Try #53: WAIT
[06/15/2018 08:22:12.953]: Try #54: WAIT
[06/15/2018 08:22:13.961]: Try #55: WAIT
[06/15/2018 08:22:14.974]: Try #56: WAIT
[06/15/2018 08:22:15.987]: Try #57: WAIT
[06/15/2018 08:22:16.998]: Try #58: WAIT
[06/15/2018 08:22:18.013]: Try #59: WAIT
[06/15/2018 08:22:19.024]: Try #60: WAIT
[06/15/2018 08:22:20.410]: Exception caught by script
[06/15/2018 08:22:20.422]: Unable to confirm that session launched
[06/15/2018 08:22:20.437]: At C:\Monitoring\Citrix\Scripts\Test-CitrixApp.ps1:338 char:9

  •     throw "Unable to confirm that session launched"
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

[06/15/2018 08:22:20.454]: Quitting Internet Explorer
[06/15/2018 08:22:20.609]: Releasing Internet Explorer COM object
[06/15/2018 08:22:20.678]: *************** LAUNCHER SCRIPT END ***************

CSV finally works but only if I just put 1 app in it. If I add a second then you get either “no logon button” or “unable to verify”… sigh.

ok. Would you be open to emailing me a sample of your CSV and script? I’m about to just scrap the idea of multiple apps altogether and just do 3 servers each only testing 1 app. Obviously this limits us big time and is not ideal but it is what it is. I’ve tried one machine with 1 csv with 3 lines, and then sync times of 0:00 , 0:06, 0:12, etc and to no avail. Right now the error I’m getting is “SF Resource page not found”. I even removed the CSV altogether and no config file exists in c:\Monitoring\Citrix and the same error was thrown. So therefore the only conclusion I can come up with is the script is completely ignoring the csv when it exists.

Thank you sir,
Gary