Passing site authentication values

Clicking on signin link ,login page is loading (https://).Here i need to pass the site authentiication username & password.How to do that.Please give me a way to proceed i am new to selenium.

Train Asked on October 1, 2014 in Selenium WebDriver.

Could you post you code or sample site please.

on October 1, 2014.
Add Comment
  • 2 Answer(s)

    Hi Revathi,

    I think you are pointing to Proxy authentication, if yes please go through the following link:

    http://www.toolsqa.com/selenium-webdriver/http-proxy-authentication/

    Or you can try this

    driver.get(“http://UserName:Password@YourWebsiteName.com”);

    If not then please paste a screenshot for the issue.

    Regards,
    Lakshay Sharma

    Professor Answered on October 2, 2014.
    Add Comment

    RE: Passing site authentication values

    When clicking on “Sign in ” link i am getting this alert. i am able to¬†click on the “Sign in” link but not able to send the Auth parameters to this alert.
    Can you please guide me…

    Train Answered on October 3, 2014.

    This is what I have explained in my blog, please go thorugh the link I have given above. Plus look for AutoIT post and you can also look for robot class for this.

    on October 3, 2014.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.