This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
3 / 3
May 2017

Hello,
I can't find a good example of test automation framework on Python. Maybe somebody can share it?
Desired requirements:
* Maintainable structure: PageObject/PageFactory or their pythonic analog
* Support of multi-threading (for running tests in parallel)

Thanks

  • created

    Mar '17
  • last reply

    Apr '17
  • 2

    replies

  • 2.0k

    views

  • 3

    users

  • 1

    like

  • 4

    links

I have spent quite a lot time with the same quest but did not get anything which I can say was good.
Coming to your points
1. There are no examples which I can say was comparable with Java of .Net PageFactory, I find this80 blog post interesting. For PageObject refer here103. Apart from there, regular code reviews and strict coding style was the only thing I found very helpful if you are working with people who do not have good exposer with dynamic languages.
A very short stack overflow discussion here55 which I sometimes use when I really want to say "No".

2.For multithreading, you can refer here40 you can also use jPython as it uses JVM and with all the pros(and may be cons) of Java threads.

1 month later

Not sure if this is what you need but check out Robot Framework at robotframework.org/. Documentation seems decent enough. Haven't used it yet but I've been hearing a lot about it lately.
Good luck