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

Refactor the script to use OOP via Selenium's API and port it over to support the selenese target of the Maven Selenium Plugin #11

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

paulbors
Copy link

Instead of overwriting (not overloading) Selenium’s reset() function,
it’s better to use the proxy design pattern so that if the original
function changes we won’t break Selenium IDE’s init code by still using
an outdated cut-n-paste ver of the impl

Cleaned up some of the code by removing white spaces and adding semicolons to all of the functions

Instead of overwriting (not overloading) Selenium’s reset() function,
it’s better to use the proxy design pattern so that if the original
function changes we won’t break Selenium IDE’s init code by still using
an outdated cut-n-paste ver of the imll
…nese"

* Refactored the script and adopted Selenium's OOP way of doing things
* Ported the script to support the Maven Selenium Plugin's selenese target
@paulbors paulbors changed the title Proxy the original Selenium reset() function Refactor the script to use OOP via Selenium's API and port it over to support the selenese target of the Maven Selenium Plugin Apr 16, 2015
…nese"

* Fixed SideFlow.initialize() for command loop in the IDE not to fall through the RC for comments
…nese"

* Fixed SideFlow.initialize() and how the testFrame changes on page re-load for Selenium RC in Selenium Maven Plugin
* Fixed the while loop off by a row bug
* Refactored some of the undefined checks to also check for isNaN()
@paulbors
Copy link
Author

Okay, this PR should be ready now.

I tested the while loops in both the IDE and Selenium Maven Plugin for the selenese target.

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

Successfully merging this pull request may close these issues.

1 participant