Issue 1350 in robotframework-ride: Editing keyword name will result the text change in test case step when the step contains the same text as keyword.

1 view
Skip to first unread message

robotfram...@googlecode.com

unread,
Apr 21, 2014, 12:57:33 PM4/21/14
to robotframewo...@googlegroups.com
Status: New
Owner: ----

New issue 1350 by s...@motio.com: Editing keyword name will result the text
change in test case step when the step contains the same text as keyword.
http://code.google.com/p/robotframework-ride/issues/detail?id=1350

Editing keyword name will result the text change in test case step when the
step contains the same text as keyword name.

As you can tell from pic one, i have a keyword "Google Search", and in test
case i want to verify the website contains text "Page Should Contain Google
Search". Later on i rename the keyword to "Google Name Search", like in pic
two, and the test case step is changed to "Page Should Contain Google Name
Search", which should not happen.

Attachments:
bug_pic1.JPG 128 KB
bug_pic2.JPG 121 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

robotfram...@googlecode.com

unread,
Apr 21, 2014, 3:04:55 PM4/21/14
to robotframewo...@googlegroups.com
Updates:
Status: Pending

Comment #1 on issue 1350 by mikko.ko...@gmail.com: Editing keyword name
will result the text change in test case step when the step contains the
same text as keyword.
http://code.google.com/p/robotframework-ride/issues/detail?id=1350

Do you have a concrete case where this has caused issues?

It is fairly hard to identify what is a keyword and what is just text
because Robot framework allows keywords that execute other keywords that
have been given as arguments (Run Keyword etc.)

robotfram...@googlecode.com

unread,
Apr 21, 2014, 3:36:31 PM4/21/14
to robotframewo...@googlegroups.com

Comment #2 on issue 1350 by s...@motio.com: Editing keyword name will
result the text change in test case step when the step contains the same
text as keyword.
http://code.google.com/p/robotframework-ride/issues/detail?id=1350

The caused issue is just like in the sample test case. When the keyword is
used in a lot of test cases, all of them need to verify page contains the
non-keyword text. But once the keyword is renamed, the same text is renamed
everywhere,include those non-keyword texts, and hence result in the failing
verification. Is it possible to detect the previous word of the renamed
keyword, and only allow its refracting when the previous word is not a
keyword or it is but a special keyword(Run Keyword etc.)?

robotfram...@googlecode.com

unread,
Apr 21, 2014, 5:50:12 PM4/21/14
to robotframewo...@googlegroups.com

Comment #3 on issue 1350 by s...@motio.com: Editing keyword name will
result the text change in test case step when the step contains the same
text as keyword.
http://code.google.com/p/robotframework-ride/issues/detail?id=1350

FYI
Issue 1351 is reported too.
http://code.google.com/p/robotframework-ride/issues/detail?id=1351

robotfram...@googlecode.com

unread,
Jun 2, 2015, 1:11:36 AM6/2/15
to robotframewo...@googlegroups.com
Updates:
Status: Accepted
Labels: Type-Defect Priority-Low

Comment #4 on issue 1350 by janne.t....@gmail.com: Editing keyword name
will result the text change in test case step when the step contains the
same text as keyword.
https://code.google.com/p/robotframework-ride/issues/detail?id=1350

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages