Community mailing list archives

community@mail.odoo.com

Re: Browser Testing with Selenium

by
n.schmitt
- 07/03/2015 09:50:12
Hi guys,

actually I am pretty interested by this topic as well. We are beginning
to implement unit tests in our team, and I want to give a more Extreme
Programming orientation. But with only unit tests, we are still missing a
big functional part.

I would also be somewhat available to improve blog posts, make
suggestions, maybe participate in some kind of tool development, because it is
indeed really lacking.

Regards, Nicolas Schmitt

On 02/07/15, David Arnold wrote:
> Hi Andreas, dos you reas this? We actually have now one Person on Selenium and would be very interested in collaborating with you in your solution. Thanks and best, David
> David Arnold < dar@devco.co [1] > schrieb am Di., 23. Juni 2015 um 09:17:
> *Thanks Nhomar, Thanks Andreas,*
> *Andreas,* actually I had the same problems you described, but did not quite right know how to document them here. I'm indeed very interested, because we might to use it for test driven scrum development with users, where customers might be able to "just record" there weekly testing and reviewing in order to achieve greater regression resilience of the evolving codebase. I think your development could be a valuable milestone towards that goal. I feel sufficiently confident, so that we could write a blogpost together?
> *Nhomar,* I was loosly able to connect phantomjs with Selenium as I have read those words together in several blogposts. I would hope to have both tools integrated for the sake of also beeing able to leverage the ease of just "recording" on the UI real transactions of actual users. Visionary: A button, that is integrated into Odoo in the userspace, which let's peolpe (on firefox) simple document test cases and submit them to the odoo codebase (or the addon-codebas or whatever)... How greate would that be?
> Thanks for your valuable comments and for your time! I would be interested to develop this idea further on a loose commitment basis. In this order of ideas, I can try to contribute (with roadmap but without schedule) by integrating tools into my workflow and develop some kind of Usecase/Proposal for the community.
> If this is deemed useful, I might also ask OCA for guidance and the exact steps to perform in order to fit common procedures.
> *Kind Regards*
> David Arnold
> El mar., 23 jun. 2015 a las 3:44, Andreas Stauder (< andreas.stauder@braintec-group.com [2] >) escribió:
> Hello David
> I used the Se-Builder ( http://seleniumbuilder.github.io/se-builder/ [3] ) to record the teststeps in the Browser. The problem is, that Odoo set's dynamically HTML-IDs that change whenever you open the next view.
> I programmed a Odoo addon (1), that provides some additional information in the HTML, a extended Se-Builder (2) and a extension to the robot-framework (3) to play back the recorded case.
> All that is working only for a few many cases, like menu, text, date, many2one, one2many fields. Only the very very basic stuff. But it is possible to extend it.
> When you are interested in that, I will try to make a video demonstrating it and provide a install manual for all components.
> Regards Andreas
> On Tue, Jun 23, 2015 at 7:44 AM, Nhomar Hernández < nhomar@gmail.com [4] > wrote:
> 2015-06-22 23:44 GMT-05:00 David Arnold < dar@devco.co [5] > :
> So I would be interested in an opinion on how far Selenium could replace the existing approaches and if it is a viable suggestion for effectively increasing e2e test coverage and foster explorative testing?       Did you read about phantomjs?[] (which is the actual model)
> Basically is create a no-frontend browser and run a set of steps on json, such tests can be changed/improved in a convenient way.
> The issue as usual with actual approach is the absolute leak of documentation, if odoo dedicate some time to explain for idiots some great ideas a lot of people should impact better in the community.
> IMHO selenium is great, and it does the job perfectly, but I prefer a solution embeded in the system with no graphical needs.
> If I personally dedicate something to odoo it should be in create more tests, and improve the output of actual ones (which are very cryptical first times).
> My 2 cents.
> [1] http://phantomjs.org/ [6]
> --
> --------------------
> Saludos Cordiales
> CEO at Vauxoo [7] Odoo's Gold Partner.
> 
> 
> 
> 
> [8]
> 
> 
> Nhomar Hernandez
> about.me/nhomar [9]
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59 [10]
> Post to: mailto: community@mail.odoo.com [11]
> Unsubscribe: https://www.odoo.com/groups?unsubscribe [12]
> 
> 
> --
> Stauder Andreas *    | Consultant und Projektleiter
> lic. Jurist
> brain-tec AG | Technoparkstrassse 1, CH-8005 Zürich
> Tel:  +41 44 552 01 20 [13]  |  Direkt:  +41 44 552 07 23 [14]    None [15] <img border="0" width="82" height="17" src="cid:image008.png@01CE9283.04C36B50">    None [16] <img border="0" width="82" height="17" src="cid:image009.png@01CE9283.04C36B50" alt="">    None [17] <img border="0" width="103" height="24" src="cid:image010.jpg@01CE9283.04C36B50" alt="">
> 
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59 [18]
> Post to: mailto: community@mail.odoo.com [19]
> Unsubscribe: https://www.odoo.com/groups?unsubscribe [20]
> 
> 
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe
> 
> 
> 
> [1] mailto:dar@devco.co
> [2] mailto:andreas.stauder@braintec-group.com
> [3] http://seleniumbuilder.github.io/se-builder/
> [4] mailto:nhomar@gmail.com
> [5] mailto:dar@devco.co
> [6] http://phantomjs.org/
> [7] https://www.vauxoo.com
> [8] http://about.me/nhomar?promo=email_sig
> [9] http://about.me/nhomar
> [10] https://www.odoo.com/groups/community-59
> [11] mailto:community@mail.odoo.com
> [12] https://www.odoo.com/groups?unsubscribe
> [13] tel:%2B41 44 552 01 20
> [14] tel:%2B41 44 552 07 23
> [15] http://www.braintec-group.com/
> [16] mailto:andreas.stauder@braintec-group.com
> [17] http://www.braintec-group.com/
> [18] https://www.odoo.com/groups/community-59
> [19] mailto:community@mail.odoo.com
> [20] https://www.odoo.com/groups?unsubscribe