Question
Standard Charted
IN
Last activity: 29 Mar 2019 8:29 EDT
How to clear previous input from the search box while running automation for the second time
Please suggest how to clear input from the Search text box, while running automation for the scond time.
1. Here is my Scenario. I need to Search whether user is exisiting or not, if not need to add the user with the given details.
2. For the first time, I am doing Search with one attribute and adding the user.
3.If I am running the automation again, In Search text box, The input is getting appended to the value of my previous input.
Ex:
First Time: Search text Box : M12345
Second Time: Search text Box : M12345M123456.
(tried to clear using Sendkeys method, but failed)
Thanks,
Surya Y