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

Replaced Pageobjects with more generalized option -M/--modules #55

Merged
merged 1 commit into from
Mar 27, 2016

Conversation

charleshamel73
Copy link

Purpose:
I noticed that when using custom modules structure like pageobjects that the pageobject argument does not work. This change should work to remove the dependency on robotpageobjects while still allowing the ability for mass imports from a module. Also included is one new test for the parameter help menu and updated tests to match new framework changes.

Itemized Changes:
Added Import Error Message to the "unable to load library' message
Switched Parameter -O or --pageobjects With Parameter -M/--module for clarity
Changed Name of PageObjectAction to ModuleAction for Clarity and updated documentation
Removed import from robotpageobjects and check for subclass
Appended error message to "unable to import " message
Added Test for new parameter help menu
Updated old test to match new framework results
Added "r" in SUITE_DIR Evaluate to fix issue with "" causing bad path

Switched Parameter -O or --pageobjects With Parameter -M/--module for clarity
Changed Name of PageObjectAction to ModuleAction for Clarity and updated documentation
Removed import from robotpageobjects and check for subclass
Appended error message to "unable to import " message
Added Test for new parameter help menu
Updated old test to match new framework results
Added "r" in SUITE_DIR Evaluate to fix issue with "\" causing bad path
@boakley boakley merged commit 65ae6d5 into boakley:master Mar 27, 2016
@boakley
Copy link
Owner

boakley commented Mar 27, 2016

Thanks, Charlie! Sorry it took so long to get it merged in.

@charleshamel73
Copy link
Author

It's no problem Bryan. How yah been?
Also, Matt and I finally posted up our pageobjects library.
https://github.com/charleshamel73/robot-pageobjects

@boakley
Copy link
Owner

boakley commented Mar 27, 2016

Oh no! I mean, that's great!

Unfortunately I'm going to be posting a page object library soon, too. I
don't want to rain on your parade :-\ I guess choice is good, but now there
are going to be three page object libraries out there. Though, the original
one I think is going to be left in the dust since the developer seems to
have abandoned it.

On Sun, Mar 27, 2016 at 10:39 AM, charleshamel73 notifications@github.com
wrote:

It's no problem Bryan. How yah been?
Also, Matt and I finally posted up our pageobjects library.
https://github.com/charleshamel73/robot-pageobjects


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#55 (comment)

@charleshamel73
Copy link
Author

Yeah. Well I'm interested in seeing how you coded yours. I remember all the issues with developing the library so I'm interested how you worked around them.

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.

None yet

2 participants