How to delete text string

I want to rename some data files name using Katalon. for that before enter new name i want to delete existing name. I tried with different methods . but those things still didn’t give me a happy result. anyone can help me to resolve this.

My code is

WebUI.verifyElementPresent(findTestObject('Datalocker/Dataset/sampledataset'), 30) 
WebUI.sendKeys(findTestObject('Datalocker/Dataset/input_dataSetName'), Keys.chord(Keys.BACK_SPACE))
	WebUI.setText(findTestObject('Datalocker/Dataset/input_dataSetName'), 'testname')


Hello, did you try to use empty string in WebUI.setText()?

1 Like

Hi @Marek_Melocik… Now i tried with that is working… Thanks:grinning::+1: