RIDE icon indicating copy to clipboard operation
RIDE copied to clipboard

renaming keyword used in "Run Keywords" of setup/teardown totally mess up the setup/teardown "Run Keywords" statement.

Open robotframework-ride opened this issue 9 years ago • 4 comments

Originally submitted to Google Code by s... on 21 Apr 2014

RIDE 1.3 running on Python 2.7.6. Robot Framework 2.8.4 (Python 2.7.6 on win32)

The original test setup is as pic one,it will first execute keyword 'Go To Yahoo' to go to the website, and then execute the keyword "'Yahoo Search RobotFramework' to input 'robotframework' in the search field and click 'search' button. However, after i renamed the keyword 'Yahoo Search RobotFramework' to 'Search RobotFramework', the statement in test setup became a mess, as pic two.

robotframework-ride avatar Jun 03 '15 09:06 robotframework-ride

Originally submitted to Google Code by @yanne on 19 May 2015

This is a bug in how Run Keyword is handled when keywords are renamed

robotframework-ride avatar Jun 03 '15 09:06 robotframework-ride

I was about to log what I think is exactly the same issue, then realised it might already be logged. I am not seeing any Pic one or Pic two as referred to above, so I have pasted part of what I was logging below:

My guess is that the rename function assumes there is only one keyword in the setup.

EXAMPLE - Before rename:

**Run Keywords** | Setup - Do Something | AND | Setup - Do something Else

EXAMPLE - After renaming "Setup - Do Something" to "Setup - Dont Do Anything", it becomes:

**Setup - Dont Do Anything** | Setup - Do Something | AND | Setup - Do something Else

EXAMPLE - Intended result was :

Run Keywords | **Setup - Dont Do Anything** | AND | Setup - Do something Else

It would be great if this could be upped in the priority list as I use "Run Keywords" fairly often and consequently have had this problem several time already.

Thanks

MarkAWalters avatar Dec 05 '19 13:12 MarkAWalters

@MarkAWalters Thank you for reporting (confirming that this bug from 2014 is still valid). Unfortunately, I do not get notifications of comments, so only today I saw you comment. I will investigate about this.

HelioGuilherme66 avatar Dec 26 '19 22:12 HelioGuilherme66

This issue is still observable on 1.7.4.1dev0, Windows10, wxPython 4.0.7post2 and Python 2.7.16.

HelioGuilherme66 avatar Jan 12 '20 20:01 HelioGuilherme66