Katalon Analytics (beta) – Bringing new insights into test reports. Learn more!

how to clear textbox ?

In selenium we have to used clear keyword for clearing watermark effect but in katalon studio there is not keyword.


  • Try this method:

    def ClearTextField(TestObject to) {
    WebUI.sendKeys(to, Keys.chord(Keys.CONTROL, 'a'))
    WebUI.sendKeys(to, Keys.chord(Keys.DELETE))
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion