How to add text without clearing the text in Katalon Recorder?

Test Case 1:
|type|id=inputNotes|Hello text 1|

Test Case 2:
|type|id=inputNotes|Hello this is the 2nd input text|

Whenever the 2nd test case runs the first test case input is replaced with second test case text.
I want the both text to remain in the text box.
How do I do it?

Although, what you want is possible but I think there is another way you can do it.

In test case 2:
Just clear the text and input new data as Text1 + Text 2.

1 Like

Hi, I’m not sure if there is proper solution to this but you can do like @adefourme suggested.
If You don’t know what value is in that field (it’s depends on some condition/it’s dynamic) You can take value from input and store it in variable then concatenate Text1 with Text2 and then newly created string type in input field.

It worked for me! Thanks @adefourme

If you are looking to add text2 to the end of text1 “Hello text 1Hello this is the 2nd input text” then sendKeys will do that if the field permits.

Test Case 1:
|sendKeys|id=inputNotes|Hello text 1|

Test Case 2:
|sendKeys|id=inputNotes|Hello this is the 2nd input text|