Forum software problem: XPath expression pasted in the comment is garbled

Please refer to

  1. http://forum.katalon.com/discussion/8580/get-xpath-count-within-custom-keyword

In there Xpath expression which was copied and pasted into the Katalon Forum was garbled.

スクリーンショット 2018-07-28 6.59.42.png

2 Likes

I tried to reproduce the problem here, but … not reproduced. Curious.

1 Like

Andrej,

Ah, you have fixed this?

1 Like

nope, i just realised it’s a thing so now i just chceck after myself if xpath i’m posting looks as i want. workaround will be use (at) instead of @ in xpaths but can be confusing for new users of dark xpath art …
i just posted link to same issue so they can be tracked together

test:
//iframe[(at)id=“snap-midtrans”]
//iframe[@id=“snap-midtrans”]

//li[(at)class='add-listitem lazyload-item ']//h2

//li[@class='add-listitem lazyload-item ']//h2