Sample AutoIT dispatcher for Internet Explorer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sample AutoIT dispatcher for Internet Explorer

L4 Transporter

We are having a use case to support a URL having Windows Authentication. Looks like the Universal connector,PSMWebFormSample and PSMWebAppSample doesn't seem to support.

 

Can someone share us a sample AutoIT dispatcher written for the similar requirement.

 

 

Thanks,

 

Regards,

Antony Sunny

 

 

 

 

 

10 REPLIES 10

L6 Presenter

for this kind of scenario i think you need to use keyboard based AUTO it script for example using send () to send password ,username and tab functions to navigate

L4 Transporter

for this kind of scenario i think you need to use keyboard based AUTO it script for example using send () to send password ,username and tab functions to navigate

But how password will be fetched in the session when it is using Windows authentication?

But how password will be fetched in the session when it is using Windows authentication?

L3 Networker

@Ankush Agarwal​ , @Himanshu Pandey​ 

I have developed a Autoit script to launch a web app (e.g: opens gmail.com and logs me in) .

When i try to use the same connection component for concurrent sessions (along with the above) it's just stuck. any thoughts?

 

Can you elaborate 'Stuck', is it happening for all the users on all the PSMs or just on specific one?

Can you elaborate 'Stuck', is it happening for all the users on all the PSMs or just on specific one?

@Himanshu Pandey​ 

 

Thanks for your response.

---

Below is my code snippet 

 

 Global $ConnectionClientPID = 0

CLIENT_EXECUTABLE = "<path_to_chrome>"

$Address = "www.gmail.com"

 

Local $chrome_arguments = " --new-window "

$ConnectionClientPID = Run('"' & $CLIENT_EXECUTABLE & '" ' & $Address & $chrome_arguments)

 

if ($ConnectionClientPID == 0) Then

Error(StringFormat("Failed to execute process [%s]", $CLIENT_EXECUTABLE, @error))

EndIf

 

---

 

for successful attempts i see below in the logs: 

 

PSMDU019I Dispatcher trace message: [<Dispatcher Name> - sending PID to PSM]

 

PSMDU013I Received a request from dispatcher [SendPID]

 

PSMDU046I Sent PID of the dispatched process to PSM. PID: 16444

 

PSMDU015I Successfully performed dispatcher's request [SendPID] (result=[0])

 

PSMDU019I Dispatcher trace message: [<Dispatcher Name> - Terminating Dispatcher Utils Wrapper]

 

PSMDU013I Received a request from dispatcher [FinalizeDispatcher]

 

 

For unsuccessful attempts i see it's not able to open a new session ( i assume this is because shadow user has already have a chrome session opened with PID generated as above) : 

 

PSMDU019I Dispatcher trace message: [< Dispatcher Name > - starting client application]

 

--

 

L3 Networker

For Windows authentication, you need to invoke the credentials using command line or AutoIT. I find command line pretty easy and straight forward with no chances of error. Webforms will not work.

Attached is the Target Settings definition that you need to use in your connection component.

 

Thanks

Abhishek0682J00000F7bOCQAZ.jpg 

 

L0 Member

Hi Venkata,

 

I am facing the same issue shadow user is not able to open another chrome concurrent session and it is stucking on starting window. Could you please share resolution if you got for the same.

 

 

  • 1055 Views
  • 10 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!