Jump to content
RamasamyRaja

How to get text from Authentication window in Browsers

Recommended Posts

5-23-2015_2-55-00_PM.thumb.jpg.faf9a9766

To fill Authentication Pop-up, i want get server name displayed in the Authentication Pop-up. So that I can determine which user name and password I have to use. Please guide how to get Highlighted text in the attached image.

I tried with below statements but it did not work.

ControlGetText ( "Authentication Required", "", "[INSTANCE:1]")\

WinGetText ( "Authentication Required")

Share this post


Link to post
Share on other sites

Please read the forum rules.


A cross-platform implementation of the AutoIt language

My contributions to the AutoIt Community ##AutoIt at freenode, real-time chat

3fHNZJ.gif

Spoiler

If I have hurt or offended you in anyway, Please accept my apologies, I never (regardless of the situation) intend to do that to anybody.

Share this post


Link to post
Share on other sites

You should use AU3Inf (spy for the screen, part of AutoIT) to see if you can read the data of the screen

If not try simplespy and check iuiautomation in examples section

@TheDCoder: Not sure why you refer to forumrules. Its not about bypassing the logon box just identifying which server so right credentials can be given

Share this post


Link to post
Share on other sites

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...