Skip Menu |
 

This queue is for tickets about the Test-WWW-Selenium CPAN distribution.

Report information
The Basics
Id: 89602
Status: open
Priority: 0/
Queue: Test-WWW-Selenium

People
Owner: Nobody in particular
Requestors: wbiker [...] gmx.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: typeKeys obsolete and new sendkeys command not immplemted
Date: Fri, 18 Oct 2013 13:09:41 +0200
To: bug-Test-WWW-Selenium [...] rt.cpan.org
From: WFB <wbiker [...] gmx.at>
Download (untitled) / with headers
text/plain 737b
Hello WWW::Selenium Maintainer, First thanks for the great work. WWW:Selenium helps me much. Unfortunately, I would use type_keys to enter text in a text box on a web side with a lot of JavaScript and Ajax. The Textbox triggers some js events and if entered some text it is evaluated and a button becomes active. The typeKeys or type_keys respectively command is accepted by the Selenium Server (2.35.0) and reports OK but the button does not become active. I checked the typeKeys command in the Selenium IDE and the docu there says it is obsolete. The user should use sendKeys instead. With sendkeys it works, but sendKeys is not supported by WWW::Selenium :( I hope it could be possible to implement this command as well, Wolfgang
Subject: Re: [rt.cpan.org #89602] typeKeys obsolete and new sendkeys command not immplemted
Date: Sat, 19 Oct 2013 08:53:59 -0700
To: bug-Test-WWW-Selenium [...] rt.cpan.org
From: Luke Closs <me [...] luk.ec>
Download (untitled) / with headers
text/plain 1.4k
Hello, Sorry I don't have time for any active development. If you send a patch and pull request for the code I'll review it - https://github.com/lukec/cpan-selenium-rc-perl Best, Luke On Fri, Oct 18, 2013 at 4:09 AM, WFB via RT < bug-Test-WWW-Selenium@rt.cpan.org> wrote: Show quoted text
> Fri Oct 18 07:09:55 2013: Request 89602 was acted upon. > Transaction: Ticket created by wbiker@gmx.at > Queue: Test-WWW-Selenium > Subject: typeKeys obsolete and new sendkeys command not immplemted > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: wbiker@gmx.at > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=89602 > > > > Hello WWW::Selenium Maintainer, > > First thanks for the great work. WWW:Selenium helps me much. > Unfortunately, I would use type_keys to enter text in a text box on a web > side with a lot of JavaScript and Ajax. The Textbox triggers some js events > and if entered some text it is evaluated and a button becomes active. > > The typeKeys or type_keys respectively command is accepted by the Selenium > Server (2.35.0) and reports OK but the button does not become active. > > I checked the typeKeys command in the Selenium IDE and the docu there says > it is obsolete. The user should use sendKeys instead. With sendkeys it > works, but sendKeys is not supported by WWW::Selenium :( > > I hope it could be possible to implement this command as well, > Wolfgang > >
Download (untitled) / with headers
text/plain 363b
I think this ticket can be closed. Selenium WebDriver does not support "sendKeys" per this ticket: https://code.google.com/p/selenium/issues/detail?id=4349 So typeKeys() should remain. For proof, attached is a patched Selenium.pm with send_keys() implemented. Running it against selenium-server-standalone-2.42.2.jar, results in the error: "Unknown command".
Subject: Selenium.pm
Download Selenium.pm
text/x-perl 88.6k

Message body is not shown because it is too large.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.