How can I navigate to a URL and pass credentials?

Class library usage, coding and language questions.
bhoppe
Posts: 14
Joined: Thu Sep 08, 2011 10:34 pm

How can I navigate to a URL and pass credentials?

Post by bhoppe » Wed Sep 26, 2012 4:48 pm

I have a URL that I need to navigate to that requires a username and password. I was using the WebDocument.Navigate(URL) to do this.

Is it possible to pass the credentials without having to map the username/password dialog that pops up?

Thanks

regex
Posts: 48
Joined: Tue Aug 14, 2012 5:47 pm

Re: How can I navigate to a URL and pass credentials?

Post by regex » Thu Sep 27, 2012 2:05 pm

You could use key sequence or press keys.

Ranorex.Keyboard.Press("username");
Ranorex.Keyboard.Press("password");