Selenium Beginner Tutorial 9 - How To Make Code MODULAR

Опубликовано: 01 Октябрь 2024
на канале: Automation Step by Step
59,937
447

Today we will learn:
1. How to identify actions
2. How to make code modular
_____________________________
Step 1: Create methods for separate actions/functionality
Step 2: Copy required code from main to these methods
Step 3: Call the methods from main in required sequence
Step 4: Run and Validate

Helpful Tips:
1. Create a separate function for every functionality
2. Add comments wherever applicable and useful


References: Coding Best Practices for Beginner - https://www.ibm.com/developerworks/li...


_______ ONLINE COURSES TO LEARN _______

Visit - http://automationstepbystep.com/

Ask Raghav- https://bit.ly/2CoJGWf
Interviews - https://bit.ly/2NIPPxk
All Playlists - https://bit.ly/2LSiezA


----------- FOLLOW -----------
Facebook -   / automationstepbystep  
Twitter -   / automationsbs  
Youtube -    / automationstepbystep  

Like, Subscribe, Share
You can support my mission for education by sharing this knowledge and helping as many people as you can