Jump to content

Recommended Posts

Posted (edited)

Launch the web application which has security certificate associated. On launching we get "Select a Certificate from the list of certificates" . how to handle this certificates using AutoIT and certificates are in a drop down. i have only chrome browser to launch the application.  do i need to install autoIt or just the add jar files and dll to it. it is not a pop up.

Tried adding the certificate to trusted source dint work.. 

Please find the screenshot attached for the screen obtained.

123.png

Edited by Raj0813
  • Moderators
Posted

@Raj0813 please wait at least 24 hours before bumping your thread. Just because this is the most important thing in the world to you does not mean forum volunteers are going to drop everything and rush to your assistance. Please show some patience.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted (edited)

Hello, please help me out how to select a certificate using the certificate name in the drop down box. I used the below to select certificates by keyboard clicks. I used java, Selenium and AutoIt in Eclipse. To select a certificate i used Down 5 to select the certificate from the drop down.

AutoItX auto = new AutoItX();
auto.sleep(3000);

auto.controlGetFocus("Windows Security");

auto.winWaitActive("[CLASS:#32770; INSTANCE:1]");

auto.send("{DOWN 5}",false);

auto.sleep(1000);

 auto.send("{ENTER}", false);

 

Below attached image is Certificate dialogue box. I have to select a cert from it.
        

Cert.PNG

Edited by Raj0813
Posted

@Raj0813 you should try this:

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 3 years later...
Posted

@HarishappUnfortunately, it looks like Raj0813 hasn't been on the forums since Sept. 18, 2018, so I doubt you'll get his solution anytime soon.  

I would suggest looking at mPilok's post right above yours.  It is very likely you can automate the certificate selection window in Chrome/Chromium using the IUIAutomation UDF from that post. 

The UDF includes a "spy tool" which you can use to inspect UI windows and controls, and even spit out some starter code to interact with it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...