Alert box issue


I have username and password in my alert box and i have to enter both to proceed further, using ‘send keys’ i can enter the value for username alone, how to navigate to password field and how to pass the value to it and after that i have to click ‘Ok’ in my Alert box.

I used the below method also, but that doesn’t works fine

promptAlert.authenticateUsing(new UserAndPassword(“username”,”password”));

Default Asked on April 25, 2017 in Software Testing.
Add Comment
  • 1 Answer(s)

    Supporter Answered on May 5, 2017.
    Add Comment
  • Your Answer

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