fjslan 0 Posted September 20, 2018 Report Share Posted September 20, 2018 Setup... UI 1= URL1 UI 2= URL2this will be a drop down with 4 choices being - blank, /sheets, /gmail, /docs User opens bot and fills in URL1 with GOOGLE.COM this is stored as variable URL1 User then selects one of the drop down items ie sheets. this is stored as variable URL2 In the bot, I want to navigate to a URL that is a COMBINATION of URL1 and URL2 NOT JUST GOOGLE.COM, NOT JUST /SHEETS BUT google.com/sheets HOW CAN I NAVIGATE TO URL1+URL2 UGH!!! Thanks in advance.. Quote Link to post Share on other sites
pash 504 Posted September 21, 2018 Report Share Posted September 21, 2018 try ui drop down("Site","google.com",#site) ui drop down("Path","sheets,gmail,docs",#path) navigate("{#site}/{#path}","Wait") Quote Link to post Share on other sites
fjslan 0 Posted September 21, 2018 Author Report Share Posted September 21, 2018 The code of ...navigate("{#site}/{#path}","Wait") DID NOT WORK When I took out the "/" it worked... so it looked like this navigate("{#site}{#path}","Wait") In ubot I had "spell it out"... I had to type "{#site}{#path}" I could not just type #site#path, I had to use the { } So you did help! Thanks. Along the same line of questioning... I need to enter UI TEXT call is variable #textafter the bot enters the text I need the bot to hit or simulate TAB or SPACE or BACKSPACE or ENTER{TAB} {SPACE} {BS} {ENTER} IN Ubot I am using the TYPE TEXT FUNCTION and trying to figure out what to put in the Pink TEXT box... I have tried many options but can not get them to work... #text by itself does type the text but when I add anything else I get exactly what I put in box symbols and all...I also tried the KEYBOARD EVENT feature and nothing. Any help appreciated... Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 21, 2018 Report Share Posted September 21, 2018 The code of ...navigate("{#site}/{#path}","Wait") DID NOT WORK When I took out the "/" it worked... so it looked like this navigate("{#site}{#path}","Wait") In ubot I had "spell it out"... I had to type "{#site}{#path}" I could not just type #site#path, I had to use the { } So you did help! Thanks. Along the same line of questioning... I need to enter UI TEXT call is variable #textafter the bot enters the text I need the bot to hit or simulate TAB or SPACE or BACKSPACE or ENTER{TAB} {SPACE} {BS} {ENTER} IN Ubot I am using the TYPE TEXT FUNCTION and trying to figure out what to put in the Pink TEXT box... I have tried many options but can not get them to work... #text by itself does type the text but when I add anything else I get exactly what I put in box symbols and all...I also tried the KEYBOARD EVENT feature and nothing. Any help appreciated... {TAB} will probably tab out of the field just FYI, but {TAB} {ENTER} and {BACKSPACE} all work for space you can just literally put a space there. Try using these in a separate type text, not the same as the rest of your normal text. That way they work properly. Stay away from Keyboard event if possible. Example: ui text box("Name",#name) navigate("https://ubotstudio.com/site/playground-simple-form/","Wait") wait for element(<username field>,"","Appear") wait(1) type text(<username field>,#name,"Standard") loop($text length(#name)) { wait(1) type text(<username field>,"\{BACKSPACE\}","Standard") } Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.