-
Notifications
You must be signed in to change notification settings - Fork 767
New Keyword 'Element Attriubte Should Contain' #1129
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
Comments
Generally the idea sounds reasonable. Instead of making direct assertions, I would prefer |
I should note that @rickypc has outlined a very specific licensing and contributor agreement with his library, robotframework-extendedselenium2library, and simply cutting and pasting code into the SeleniumLibrary should be done with this under serious consideration! @johanno why not simply use that library? |
Thanks for reminding us from that, I always forget that part. |
Because it doesn't support Python3 |
I also think that having this type of general keywords or functionality in SL is useful. |
FWIW, I don't think it's a good idea to add all new assert functionality as
would allow using simpler keyword names and would avoid the need to have both Also, it's a good point we cannot directly copy code from a project using AGPL. Luckily this kind of keywords are easy to implement from scratch and ES2L code wouldn't even be fully compatible with the current SL code anyway. |
It also doesn't support SeleniumLibrary. It would seem best to first see if we can add some updates to the ExtendSelenium2Library. I know of a couple developers in NYC that also use this library and could benefit from the upgrade. We had talked about mini conferences and mini sprints, online, so this would be a great candidate. |
I can see ES2L supporting the latest SL being useful to many, but, to be honest, if the reason E2SL exists is to just add new generic functionality to SL, I don't see the point of the library in general. Much better concentrating efforts to SL only. The situation with AngularLibrary is different because it is designed to a specific domain and adds non-generic functionality on top of SL. Having a way such functionality could be added to SL via plugins might be even better, but that would first require designing and implementing the plugin API. |
Plus, my team has already added `Element Attribute Value Should Be` -
https://github.com/robotframework/SeleniumLibrary/blob/master/src/SeleniumLibrary/keywords/element.py#L387
…On Fri, May 25, 2018 at 3:39 AM, Pekka Klärck ***@***.***> wrote:
I can see ES2L supporting the latest SL being useful to many, but, to be
honest, if the reason E2SL exists is to just add new generic functionality
to SL, I don't see the point of the library in general. Much better
concentrating efforts to SL only.
The situation with AngularLibrary is different because it is designed to a
specific domain and adds non-generic functionality on top of SL. Having a
way such functionality could be added to SL via plugins might be even
better, but that would first require designing and implementing the plugin
API.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1129 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAoXSkoBXeGhnAk2jHAXvZsFklxHw41ks5t18M5gaJpZM4UI8TP>
.
--
Ruby: http://blog.rubygeek.com - http://www.twitter.com/rubygeek
http://www.linkedin.com/in/nolastowe - my linkedin profile
http://github.com/rubygeek - my code
|
In keeping with the desire to limit the number of keywords added to the library, including specialized assertions, this will not be implemented. There are existing methods to be get attributes or wait for an element to contain an attribute and then assert its value. Thank you all for suggestion this. |
Copied from ExtendeSelenium2Library:
The text was updated successfully, but these errors were encountered: