how to clear textbox ?

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

Comments

  • 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.