sqa

IE. typing in text box doesn't activate it as using keyboard

2 posts in this topic

the problem is: a text box I am typing in is inactive. It becomes active when user start typing in it or clicking on it.

using _IEFormElementSetValue sets the value in the text-box, but it still remain inactive.

it even do not do check for upper case inputs.

how to make it behave like with keyboard inputs?

 

Thanks

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You can get the focus to the element 

_IEAction ( ByRef $oObject, $sAction )

and do the Send.

Send ( "keys" [, flag = 0] )

Thanks

Anoop

Edited by Anoop

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