How to use pound sign as input instead of argument?
391 views
Skip to first unread message
David
unread,
Mar 12, 2011, 3:17:36 AM3/12/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to robotframework-users
I'll need to follow up later when I'm onsite with my computer, testing
it remotely has some delays so can't tell for sure, but doesn't look
like it's working so far.
Trying to automate SIP softphone with AutoItLibrary and RF. Want to
pass a # character as a test case argument, so that softphone can dial
# on keypad.
Problem is # character is used as code comment in Python and RF passes
that along from test cases to Python code.
How to properly escape the # to use it as test data? With backslash
like '\#'? Or single quote the # like '#'? Or try it as Python raw
strings format r'#'? Or set it as a Python variable instead of value
or variable in test case file, etc.?
David
unread,
Mar 12, 2011, 3:19:12 AM3/12/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to robotframework-users
Oops made typo in thread title. Meant to say "comment" instead of
"argument".
Juha Rantanen
unread,
Mar 14, 2011, 1:46:53 AM3/14/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message