- bruceh
- Posts : 2
Join date : 2014-03-25
How to click into an input field
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
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
- ccoxMaster
- Posts : 205
Join date : 2012-01-06
Age : 39
Location : Denver, CO
Re: How to click into an input field
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
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
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.
- How to get ID of input field on click event using selenium RC
- [Help] Java input Username field as a timestamp
- IDE not recording click on table row (with jquery click handler attached)
- Select the “back” button of the Firefox browser to right click and Select the Option from the right click Menu in Selenium Web Driver - Java
- Error: 'An error occurred executing the click atom' when i try to click an option
Permissions in this forum:
You cannot reply to topics in this forum