Hi Ed,
i know it's way too late to reply, but just giving it a shot.
I have used before Pytractor (Selenium WebDriver API extension based on 
Protractor) with Pytest framework:
https://github.com/kpodl/pytractor
https://docs.pytest.org
https://github.com/pytest-dev/pytest/

Pytractor has not been maintained for a while and now the author is asking 
if anyone wants to adopt the project.

I wonder if you ended up writing your own library/utils to test Angular 
apps with Python.

Thanks,
Dmitry

On Thursday, May 29, 2014 at 6:22:02 AM UTC-7, Ed Manlove wrote:
>
> Is anyone testing angular apps using the python bindings for webdriver? 
> I know the de facto method or tool for end-to-end testing angular is 
> Protrator which is built on top of WebDriverJS or the javascript 
> bindings. Looking further into Protractor one can see that it adds 
> several angular specific locators for items like angular bindings, 
> model, and repeaters as well as some functionality to handle 
> synchronization with angular elements/web pages. 
>
> This synchronization, in particular, is done using promises to wait for 
> outstanding requests within the node callback stack which in turns helps 
> deal with slow pages/apps making the tests (a lot?) more stable. I will 
> be be testing some sites which will have angularjs elements but will be 
> using the python webdriver bindings. Noting the additions within 
> Protrator I have tried to mimick its additional functionality within 
> Python using javascript calls (execute_script, execute_async_script). I 
> have some working code for finding ng-bindings and ng-model and started 
> testing these using the Protractor internal test suite. I am also 
> currently mentally breaking apart the protactor code for finding 
> repeaters and the waitForAngular function(ality) looking at how to 
> implement within Python with WebDriverPython. 
>
> So I am curious if anyone has done testing of angular with Python and if 
> anyone has looked at the usage of promises within WebDriverJS and 
> pondered how the advantages of promises could be used by the blocking 
> bindings/languages like Python? 
>
> Ed 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to