Hello,
I need to know if I can create a login sequence for a website, but without knowing the url before ( so I can not use attach browser ). I was thinking maybe I can use 2 type intos, knowing the fact that that the websites would have always 2 fields ( 1 for username, 1 for password ), but as I said before I am not sure how could I deal with the attach browser.
Thanks in advance!
Yoichi
(Yoichi)
October 23, 2023, 8:36am
2
HI,
Do you need to input username and password in existing web page?
If so, the following settings will help you.
Set Never at Open property.
Set blank at URL.
Modify selector string if necessary.
Regards,
darie.leolea:
need to know if I can create a login sequence for a website, but without knowing the url before ( so I can not use attach browser ). I was thinking maybe I can use 2 type intos, knowing the fact that that the websites would have always 2 fields ( 1 for username, 1 for password ), but as I said before I am not sure how could I deal with the attach browser.
You can do it without selectors here
Make sure you have kept the browser application opened and rest of them are closed
So that the moment you run the bot it has to interact only with that window
For that in your workflow use GET ACTIVE WINDOW activity
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
If this activity is not visible then in activity panel click on filter icon and enable show classic
Now this will bring the only one active window to the front of the screen
Then using a CLICK IMAGE activity and drag the image region on first username field alone
Then use only one TYPE INTO without any selector and just with user name password like this
Strusername.ToString+”[k(tab)]”+strpassword.ToString+”[k(enter)]”
This will enter username and password and enters as well with one type into activity itself
Hope this helps
Cheers @darie.leolea
You can use Attach browser by giving a *
Inside the attach window you can indicate use name and password.