Sign in to follow this  
Followers 0
Nilesh

ControlSetText

4 posts in this topic

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.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

Thanks Azeem for the reply, :mellow:

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.

Share this post


Link to post
Share on other sites

No problem!

Thanks,

Azeem.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0