Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in RPA by (12.7k points)
Hi i want to add variables to my url , my variables are username and password , i want to assign username as anni and password as 123 but when i pass the Url it redirects me to to a link which contains the words username and password. please help

1 Answer

0 votes
by (29.5k points)
Hi, without looking at your process flow my best guess would be that you are passing the URL  as  "xyz.com/un=password?-un1=username?". See the problem here is you aren't passing your variables username and password instead you are passing strings as they are quoted.

To fix this just use string concatenation like "xyz.com/un="+username"-un1="+password"?" and it should work!

you can refer to the following tutorial to brush up the basics

Related questions

0 votes
1 answer
asked Jul 13, 2019 in RPA by Abhishek_31 (12.7k points)
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...