rickypc / selenium-page-object-generator

A nimble and flexible Selenium Page Object Model generator to improve agile testing process velocity.
https://chrome.google.com/webstore/detail/epgmnmcjdhapiojbohkkemlfkegmbebb
GNU Affero General Public License v3.0
121 stars 65 forks source link

After 15 minutes, no java file generated (chrome plugin) #16

Closed garymazz closed 7 years ago

garymazz commented 7 years ago

Hi,

I have a page with large form in a table layout. Within the form reside complex rows with different column counts that include several input elements, select elements, and 20 check boxes. Within the top row are columns that contain nested rows. The nested columns are scrollable.

The select elements are populated via ajax scripts. Some input elements are partially populated via an autofill javascript. There are also several hidden input element. There is a submit button and a "clear form" implemented as an input (I didn't write this) Also, there are several tool tips implemented in javascript that hook the mouseover..

After running for 15 minutes, the plugin closes and no file (java) is created.

Is there a way to have this form complete and generate a java file ?

garymazz commented 7 years ago

Just a followup... The issue was caused by the table element with form as a child element. This is a violation of html rules.

The plugin should give a warning in case of invalid html code.