Download presentation
Presentation is loading. Please wait.
1
Test Automation For Web-Based Applications
Portnov Computer School WebDriver Training Test Automation For Web-Based Applications Presenter: Ellie Skobel
2
Day 1 Navigating PyCharm
3
PyCharm Text editor Menu bar Project Structure Module Structure
Breakpoints Quick Access Tabs Process Status Area
4
Editor Improves readability of code through color coding of elements
Blue = number Improves readability of code through color coding of elements Provides Auto complete functionality Provides on-mouse-over object documentation. Facilitates object tracking shortcuts Blue = Python reserved word Ctrl + click opens object declaration Green = string Ctrl + Space opens available commands list
5
Debugging Tests To begin debugging set a break point
Select the desired line of code Click in the left margin Run the test in debug mode Right-click the unittest TestCase file / document Select Debug 'unittests'
6
Debugging Tool Bar Debugger opens automatically during debugging
Use the tool bar to navigate through the code Return to the calling object Step into referenced object Go to next break point Stop Debugging Execute entire line
7
Managing Breakpoints Use the Breakpoint View within the Debugger to select which breakpoints should be skipped and which should be completed Unchecked breakpoints will be skipped
8
Tracking Variables Use the Variables View within the Debugger to view values of current variables
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.