Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for masked input fields #10

Closed
snscaimito opened this issue Mar 16, 2011 · 8 comments
Closed

Support for masked input fields #10

snscaimito opened this issue Mar 16, 2011 · 8 comments

Comments

@snscaimito
Copy link
Contributor

On .NET there is a masked input field that appears to be an edit control. With the currently version of RAutomation validation attached to the control is not trigged. Setting the 'text' of the control removes the mask, as the mask is stored as the control's text.

@jarmo
Copy link
Owner

jarmo commented Mar 16, 2011

Do you also have any ideas how to make it work properly?

@snscaimito
Copy link
Contributor Author

Not yet.

On Mar 16, 2011, at 3:14 PM, jarmo wrote:

Do you also have any ideas how to make it work properly?

Reply to this email directly or view it on GitHub:
#10 (comment)

@myungs
Copy link
Contributor

myungs commented Apr 11, 2011

Well we found one way around this issue was to #set_focus to the field, and then #send_keystrokes

@jarmo
Copy link
Owner

jarmo commented Jul 25, 2012

There is also problem with password fields (e.g. IE basic authentication window) when trying to set the password value with TextField#set. The problem is that TextField#value will retrieve an empty string regardless of the value in that field thus causing #set to get TimeoutError because it checks if entered text and value are the same. I've fixed it in here 0acefa6

@jarmo
Copy link
Owner

jarmo commented Dec 25, 2012

@leviwilson any ideas regarding this matter?

@leviwilson
Copy link
Collaborator

@jarmo send_keys works for me (I use it in my Text accessor in my mohawk gem).

@leviwilson
Copy link
Collaborator

@jarmo also, this cucumber feature illustrates it working.

@jarmo
Copy link
Owner

jarmo commented Dec 25, 2012

Cool, i will close this issue then.

@jarmo jarmo closed this as completed Dec 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants