Nilesh Posted June 7, 2010 Posted June 7, 2010 I am using ControlSetText function to set a string to a edit box. The out put that I am getting from such set string is not as expected. Note: After setting the string if I mannually use BackSpace key in the edit box, the entire string gets removed from the edit box. Please suggest if I am missing any setting. -Nilesh.
IHaveLeftTheForum Posted June 7, 2010 Posted June 7, 2010 I am using ControlSetText function to set a string to a edit box. The out put that I am getting from such set string is not as expected.Note: After setting the string if I mannually use BackSpace key in the edit box, the entire string gets removed from the edit box.Please suggest if I am missing any setting.-Nilesh.I wanna see your script, so plz share here it will be better to help you!
Nilesh Posted June 7, 2010 Author Posted June 7, 2010 Thanks Azeem for the reply, I think, I got the reson behind. The edit box which I was trying is a license key field and may be programer has restricted the programetic inputs to this field. Now, I have used a loop to enter the string characterwise and it's works well. Btw, I was using following piece of code ControlSetText("Authentication", "", 1004, "HSN2H-HSJR2-JD674-HDJ73-78DJ3") ;License key text fill ControlClick("Authentication", "", "Button52") ;OK button Thanks, Nilesh.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now