Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cloudmadeofcandy opened this issue Mar 7, 2024 · 1 comment

Comments

@cloudmadeofcandy
Copy link

cloudmadeofcandy commented Mar 7, 2024

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})")

@ptrthomas
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants