Can Katalon Test SAP HTML with FRAMESETs? [was: How to extract value of a text field?]

Thank you for your input.

You tried that xpath in the console tab of Chrome’s DevTools with $x() function, and you wrote “it works”.

I am afraid your post does not answer to the original poster @saumil.sah. He asked how to write a Test Case script in Katalon Studio to test the SAP HTML. He did not ask us how to write $x() function in the DevTool console. These are 2 different problems.

When I tried to write a Test Case, I found a difficulty for “WebUI.switchToFrame()” for <FRAMESET> tags.

When you interacted with the DevTools console, you manually did operation equivalent to “WebUI.switchToFrame()”. It seems that your view point in the DevTool successfully passed the wall of <FRAMESET> and you could reach to the target HTML document. Then you applied $x() function and found it works. Ok, it’s nice to know this. But $x() in the DevTool doesn’t solve the problem of original post.