Question

5
Replies
682
Views
Surya Narayana Y V (SuryaYanamandra)
Capgemini
Pega Developer
Capgemini
IN
SuryaYanamandra Member since 2016 27 posts
Capgemini
Posted: March 1, 2019
Last activity: March 29, 2019
Posted: 1 Mar 2019 7:27 EST
Last activity: 29 Mar 2019 8:29 EDT
Closed
Solved

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

Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.