7 | Python Lists and Dictionaries for Testers: Store Test Data
Description: Learn how Python stores test data: lists for many values and dictionaries for values with names. Built on the cart project.
In this lesson:
- Keep many values in a list
- Give each value a name with a dictionary
- Loop through a list of items
- Read a value by its key
Previous lesson: Python Functions for Testers https://youtu.be/mWMPHR4FceA
Next lesson: Split Python Code into Files: import and Modules https://youtu.be/86R1CJZL084
Free course on Udemy, with two short quizzes: https://www.udemy.com/course/python-and-git-for-testers-learn-coding-for-test-automation/?referralCode=DDD96CB2D94250E08531
Full playlist, in order: https://www.youtube.com/playlist?list=PLbdk4_6KQS2o
Code for this course: https://github.com/anuradha-learn/python-pytest-bridge
Website: https://anuradhaagarwal.com
LinkedIn: https://www.linkedin.com/in/anuradhaagarwal
About me: I am Anuradha Agarwal, a test automation specialist and trainer with decades of industry and teaching experience, and a Master's degree in Data Science. This channel is about modern QA testing. Subscribe if you want more lessons like this.
If this lesson helped you, write one line in the comments about what you built or what you got stuck on. Close description
In this lesson:
- Keep many values in a list
- Give each value a name with a dictionary
- Loop through a list of items
- Read a value by its key
Previous lesson: Python Functions for Testers https://youtu.be/mWMPHR4FceA
Next lesson: Split Python Code into Files: import and Modules https://youtu.be/86R1CJZL084
Free course on Udemy, with two short quizzes: https://www.udemy.com/course/python-and-git-for-testers-learn-coding-for-test-automation/?referralCode=DDD96CB2D94250E08531
Full playlist, in order: https://www.youtube.com/playlist?list=PLbdk4_6KQS2o
Code for this course: https://github.com/anuradha-learn/python-pytest-bridge
Website: https://anuradhaagarwal.com
LinkedIn: https://www.linkedin.com/in/anuradhaagarwal
About me: I am Anuradha Agarwal, a test automation specialist and trainer with decades of industry and teaching experience, and a Master's degree in Data Science. This channel is about modern QA testing. Subscribe if you want more lessons like this.
If this lesson helped you, write one line in the comments about what you built or what you got stuck on. Close description
