Share
Go down
bruceh
Posts : 2
Join date : 2014-03-25

How to click into an input field

on Tue Mar 25, 2014 1:51 pm
Hi all,

I am new to Selenium IDE and try to use it for GWT auto web testing. We had designed that the save button wouldn't be enable until all input fields be fill in.
I had tried sendKeys, type, keyPress, keyDown and keyUp command, all of them can put value or string into field, but the save button would not be enable. Because it need to detect the mouse cursor in the field and leave the field. However, I can't find a command to simulate user click the field and type key-by-key.(Not just put value in field, but key value into field)

Any suggestion is appreciated.

Thanks,
Bruce
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 33
Location : Denver, CO

Re: How to click into an input field

on Thu Mar 27, 2014 9:51 am
Have you tried using click on those fields?
bruceh
Posts : 2
Join date : 2014-03-25

Re: How to click into an input field

on Thu Mar 27, 2014 11:41 am
ccox wrote:Have you tried using click on those fields?

Hi ccox,

Sure, I have tried to click and clickAt(with coordString: (10,10)) those fields by its id(e.g.: id=x-auto-12-input), but nothing happened..

Thanks
edszr.co@gmail.com
Posts : 3
Join date : 2014-02-20

Re: How to click into an input field

on Fri May 02, 2014 11:03 pm
bruceh wrote: However, I can't find a command to simulate user click the field and type key-by-key.(Not just put value in field, but key value into field)

Any suggestion is appreciated.

Thanks,
Bruce

This might be what you're looking for:

http://blog.reallysimplethoughts.com/2013/09/25/using-special-keys-in-selenium-ide-part-1/

The link to part 2 of the blog is at the bottom of part 1.
Sponsored content

Re: How to click into an input field

Back to top
Permissions in this forum:
You cannot reply to topics in this forum