I just recorded the test script ie data driven test case.
my application contain a login page where i need to enter the user name & password .
the issue in this script is when i am runing the script it is not clearing the privious password , but it is clearing the username
is their is any function which clear the data from the password text.
any suggestion on this
Generally if u r using two consecutive SetText() statements,
the second overwrites the first one.
Still there is one alternative i.e. ClearText() method
Try and fail, but don't fail to try
You could set the text as ""