Jump to content
UBot Underground

Recommended Posts

Setup...

 

UI 1= URL1

 

UI 2= URL2

this 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..

Link to post
Share on other sites

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 #text

after 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...

Link to post
Share on other sites

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 #text

after 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")
}
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...