Question

5
Replies
466
Views
SuryaYanamandra Member since 2016 27 posts
Capgemini
Posted: 1 year ago
Last activity: 1 year 5 months ago
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
Share this page LinkedIn