Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Mohammed Ismail
7,190 PointsPython Test Automation QA
Hi, I am from Quality Assurance department of application development team, where we do both functional/system and regression testing. I am learning Python to implement Test Automation. Does any one has notes/document of how we build test automation framework using Python. Kenneth Love , Can you please help me with this. Also can you suggest which areas I need focus more on to do Test Automation using Python.
4 Answers
Hoessein Abd
Python Web Development Techdegree Graduate 19,107 PointsHi,
I've recently started automating user interactions with Selenium and Python as well. It's a lot of fun.
First of all there's a Selenium course on Treehouse. Even though it is covered in Javasscript, the emphasis is on how to find and interact with webelements. If you don't know how to do that I would suggest taking that course.
https://teamtreehouse.com/library/introduction-to-selenium
There's also a lot of youtube tutorials on how to get started with selenium and python, not of the quality of treehouse, but enough to get you started with the basics.
You can use http://phptravels.com/ it's a website made for practising with Selenium. Once you get comfortable automating simple clicks and filling fields. Start organizing your test scripts with Page object models. The idea is to make a separate class for every page you want to automate.
Hope that helps.
Logan R
22,989 PointsI would suggest checking out the "Python Testing Course" if you haven't already!
Mohammed Ismail
7,190 Points@Logan R Thanks! I am looking at more of functional/regression testing automation rather than unit testing! Something like usage of selenium using Python.
Mohammed Ismail
7,190 PointsHoessein Abd Thank you!!!