RIDE icon indicating copy to clipboard operation
RIDE copied to clipboard

Tag search does not handle spaces in query

Open JFoederer opened this issue 1 year ago • 2 comments

Using the Tag search dialog I am able to find tests tagged with TAG_A (underscore), but not the ones tagged with TAG B (space), when searching using the full tag name (Results: 0). It does work when using a wild card search TAG*B. image

v2.1dev22, Windows Python 3.11 and Linux Python 3.10

JFoederer avatar Mar 25 '24 10:03 JFoederer

@JFoederer The reason why the tags with spaces are not found, is because the space is the separator in the search field. You want to search for Test B but you are searching for Test or B. I tend to leave this as it is because it is similar of how we do in command line, we have to use theTest_B or TestB.

HelioGuilherme66 avatar Apr 07 '24 21:04 HelioGuilherme66

Ok, I had not guessed that TAG_B and tagB were also valid to match TAG B. I understand that command line has this limitation as it doesn't deal well with spaces in general. In Robot Framework spaces are very common in names, so I would expect a dedicated RF tool like RIDE to work equally well with such names.

But, if this was intended behaviour than it isn't a bug and with three workarounds available it certainly isn't a high prio feature request.

JFoederer avatar Apr 08 '24 07:04 JFoederer