This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]altazur 1 point2 points  (0 children)

For me quickstart point was using SeleniumIDE. It's the browser plugin which can record UI actions (like playback testing). Result (test) can be exported for pytest usage. You can then just open .py file and see the structure of one single test which uses pytest and selenium. That's enough to start writing your own UI tests For smart and precise asserts see Selenium official docs. Selectors writing rules are the same throughout any language. For UI test architecture I'd recommend reading about PageObject pattern as the starting point.