Forum Discussion

Amna's avatar
Amna
Occasional Contributor
4 years ago

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

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

  • tphillips's avatar
    tphillips
    Frequent Contributor

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

    • Amna's avatar
      Amna
      Occasional Contributor

      Thank you its working now