cancel
Showing results for 
Search instead for 
Did you mean: 

How to clear the TextField using C# script

SOLVED
Amna
Occasional Contributor

How to clear the TextField using C# script

I have a text field. I just want that when my test script will run then the already text in the text field will clear and then in next step another text will add in this text field

1 ACCEPTED SOLUTION

Accepted Solutions
tphillips
Community Leader

Re: How to clear the TextField using C# script

Set its wText property to "" or use the SetText property with "" as the argument.


--------------------
QA Systems Architect

View solution in original post

2 REPLIES 2
tphillips
Community Leader

Re: How to clear the TextField using C# script

Set its wText property to "" or use the SetText property with "" as the argument.


--------------------
QA Systems Architect

View solution in original post

Amna
Occasional Contributor

Re: How to clear the TextField using C# script

Thank you its working now

 

New Here?
Join us and watch the welcome video:
Top Kudoed Authors