TestProject Forum
Powered by leading experts in the test automation community

Clear element contents Deletes Text Then Returns

Hi,

I’m new here so I wanted to ask a quick question. I’m currently writing a test for a login screen and I want to clear the content in the username textbox. I selected the action “Clear element contents (deletes any existing text”.

When I ran the test the content was cleared but the text returns in the username textbox after 2 seconds.

Is there a way which I can clear the contents completely which doesn’t allow the text to return?