karatelabs / karate

Test Automation Made Simple

Home Page:https://karatelabs.github.io/karate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Karate robot cannot handle panes with "/" in name. Very niche problem

cloudmadeofcandy opened this issue · comments

I've noticed that if the window has the " /" character in the name, I cannot, for instance, write code like this, even though I've escaped the character.

waitFor("pane{create/edit information})"

Again, this is a very niche problem, since I can just write it like this:
waitFor("pane{^create})")

yes the search routine uses / as a separator: https://github.com/karatelabs/karate/blob/master/karate-robot/src/main/java/com/intuit/karate/robot/win/PathSearch.java

that logic should probably be improved to support an escape character.