Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

echo showing variable name instead of value - use backticks for variables from v6 #864

Closed
ericdarwin01 opened this issue Sep 8, 2020 · 3 comments
Labels

Comments

@ericdarwin01
Copy link

Hi All,
I'm a new user in tagui.

I've read the docs and examples, and followed the tutorials.

One thing I cannot do right is the echo part.

For example the tutorial 1 - https://rpa-sg.org/TagUI-Tutorial-1/tagui-tutorial-1-goodreads-com-part-1.php

when doing the tagui live, the echo part does not show the title of the page. The command was executed but no output.
and everytime I do an echo for a variable, it just writes the variable name, not the value.

during live, opening the goodreads page --> ok
read the title using xpath --> ok (output command prompt shows value of the title)

but this code:
echo "title = " + title

on my system, output is:
"title = " + title

instead of the value of title

Is there anything that I am missing here?

excuse the beginner level question here, but I wish to learn more of this.

Thank you.

@sheneeb
Copy link

sheneeb commented Sep 9, 2020

Hi @ericdarwin01
Try using `` (backticks) found next to the keyboard number 1 around the title
Like this
echo ‘title’

@ericdarwin01
Copy link
Author

Hi @sheneeb

Thanks for your reply.

It works!

Thanks again.

@kensoh kensoh added the query label Nov 23, 2020
@kensoh kensoh changed the title echo showing variable name instead of value echo showing variable name instead of value - use backticks from v6 Nov 23, 2020
@kensoh kensoh changed the title echo showing variable name instead of value - use backticks from v6 echo showing variable name instead of value - use backticks for variables from v6 Nov 23, 2020
@kensoh
Copy link
Member

kensoh commented Nov 23, 2020

Hi Eric, sorry I was away the past few months - tebelorg/RPA-Python#144

I've updated the docs, there were a couple of locations where ticks are missing for variables in echo step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants