I have the following HTML
:
<input name="txtVFNAME" tabIndex="2" id="txtVFNAME" style="width: 150px;" onkeydown="CallRestricted("vfname")" type="text" maxLength="35"/>
I want to enter an increasing digit at the end of the Name that I set. e.g. I want to enter first name as "Christina1", 2nd time when my code runs,I want it to enter first name as Christina2 and so on.If not in an increasing manner then it can append any random digit at the end of the name.
Kindly help me. I am using Java , Selenium , IE 10, Windows 8.