filmov
tv
TestNG Framework Tutorial | Page Object Model ๐| Part-VIII | LambdaTest

ะะพะบะฐะทะฐัั ะพะฟะธัะฐะฝะธะต
Watch this video to learn how to create page object model patterns with live demonstrations using TestNG.
๏ผถษชแด แดแด ๏ผฃสแดแดแดแดส๊ฑ ๐
0:00 - Introduction To Page Object Model
2:20 - Create BasePage
9:56 - Create HomePage Object
13:37 - Create BootstrapProgressBarPage Object
21:58 - Create BaseTest
29:34 - Create ProgressBarTest
38:57 - Conclusion
๐ฉ ๐พ๐๐๐ ๐๐ ๐ท๐๐๐ ๐ถ๐๐๐๐๐ ๐ด๐๐ ๐๐ (๐ท๐ถ๐ด)?
โก Page Object Model (POM) is a design pattern or framework used in Selenium to create an object repository of the various web elements throughout the application.
๐ฉ ๐พ๐๐๐ ๐๐๐ ๐๐๐ ๐๐ ๐๐๐๐๐๐๐๐ ๐๐ ๐๐๐ ๐ท๐๐๐ ๐ถ๐๐๐๐๐ ๐ด๐๐ ๐๐ ๐๐๐๐๐๐๐๐๐?
โก Makes code more maintainable
Because the test classes are separate from the classes that contain the web elements and the operations on them, updating the code is very simple if any web element changes or a new one is added.
โก Makes code readable
Because of the fine line between the test classes and the various web pages, the user can easily read through the project and test scripts.
โก Makes code reusable
Also, if multiple test scripts use the same web elements, we don't have to write code to handle the web element in each test script. By putting it in a separate page class, you can reuse it by making it accessible to any test script.
๐๐จ๐๐๐, ๐๐๐ ๐๐๐๐ ๐๐๐๐๐ ๐
๐ธ What is the difference between Page Factory and Page Object Model (POM) in Selenium?
๐ธ What is Page Factory in Selenium?
๐ธ What is page object model framework?
**๐น๐๐๐๐๐๐ ๐ฉ๐๐๐๐ & ๐ซ๐๐๐**
**๐ณ๐๐๐๐๐๐๐ ๐ฏ๐๐**
**๐ช๐๐๐๐๐๐๐๐๐๐๐๐๐**
Sign Up for LambdaTest! Itโs FREE ๐
Register Now to Avail Bonanza Offerings ๐
+ Test websites and web apps on 3000+ real browsers over LambdaTest cloud
+ Trusted By 1M+ users, 500+ enterprises and 130+ countries
+ Online scalable Selenium Grid to perform Manual as well as Automation Testing
+ 100 minutes of free Web + Mobile Automation Testing
+ 60 minutes of free Live Interactive Testing per month
+ 10 Screenshot Tests per month
+ 10 Responsive Tests per month (Test a page across 50+ Device configurations with a single click)
+ Unlimited free testing on LT Browser
**๐ฌ๐๐๐๐๐๐**
**๐บ๐๐๐๐๐**
#testngtutorial #lambdatest #pageobjectmodel #seleniumtests #auotmationscripts #testngselenium #testngfeatures #testngbasics #testngcourse #learntestng
Disclaimer:
This video features materials protected by the Fair Use guidelines of Section 107 of the Copyright Act. All rights reserved to ยฉ 2022 LambdaTest. Any illegal reproduction of this content will result in immediate legal action.
๏ผถษชแด แดแด ๏ผฃสแดแดแดแดส๊ฑ ๐
0:00 - Introduction To Page Object Model
2:20 - Create BasePage
9:56 - Create HomePage Object
13:37 - Create BootstrapProgressBarPage Object
21:58 - Create BaseTest
29:34 - Create ProgressBarTest
38:57 - Conclusion
๐ฉ ๐พ๐๐๐ ๐๐ ๐ท๐๐๐ ๐ถ๐๐๐๐๐ ๐ด๐๐ ๐๐ (๐ท๐ถ๐ด)?
โก Page Object Model (POM) is a design pattern or framework used in Selenium to create an object repository of the various web elements throughout the application.
๐ฉ ๐พ๐๐๐ ๐๐๐ ๐๐๐ ๐๐ ๐๐๐๐๐๐๐๐ ๐๐ ๐๐๐ ๐ท๐๐๐ ๐ถ๐๐๐๐๐ ๐ด๐๐ ๐๐ ๐๐๐๐๐๐๐๐๐?
โก Makes code more maintainable
Because the test classes are separate from the classes that contain the web elements and the operations on them, updating the code is very simple if any web element changes or a new one is added.
โก Makes code readable
Because of the fine line between the test classes and the various web pages, the user can easily read through the project and test scripts.
โก Makes code reusable
Also, if multiple test scripts use the same web elements, we don't have to write code to handle the web element in each test script. By putting it in a separate page class, you can reuse it by making it accessible to any test script.
๐๐จ๐๐๐, ๐๐๐ ๐๐๐๐ ๐๐๐๐๐ ๐
๐ธ What is the difference between Page Factory and Page Object Model (POM) in Selenium?
๐ธ What is Page Factory in Selenium?
๐ธ What is page object model framework?
**๐น๐๐๐๐๐๐ ๐ฉ๐๐๐๐ & ๐ซ๐๐๐**
**๐ณ๐๐๐๐๐๐๐ ๐ฏ๐๐**
**๐ช๐๐๐๐๐๐๐๐๐๐๐๐๐**
Sign Up for LambdaTest! Itโs FREE ๐
Register Now to Avail Bonanza Offerings ๐
+ Test websites and web apps on 3000+ real browsers over LambdaTest cloud
+ Trusted By 1M+ users, 500+ enterprises and 130+ countries
+ Online scalable Selenium Grid to perform Manual as well as Automation Testing
+ 100 minutes of free Web + Mobile Automation Testing
+ 60 minutes of free Live Interactive Testing per month
+ 10 Screenshot Tests per month
+ 10 Responsive Tests per month (Test a page across 50+ Device configurations with a single click)
+ Unlimited free testing on LT Browser
**๐ฌ๐๐๐๐๐๐**
**๐บ๐๐๐๐๐**
#testngtutorial #lambdatest #pageobjectmodel #seleniumtests #auotmationscripts #testngselenium #testngfeatures #testngbasics #testngcourse #learntestng
Disclaimer:
This video features materials protected by the Fair Use guidelines of Section 107 of the Copyright Act. All rights reserved to ยฉ 2022 LambdaTest. Any illegal reproduction of this content will result in immediate legal action.
ะะพะผะผะตะฝัะฐัะธะธ