Session 5 - Verify Presence Of Fields in Selenium Java | Read Field Names from Excel & Verify on UI

Опубликовано: 02 Август 2024
на канале: AJ AUTOMATION
334
8

▶️ In this video, we will see the process of verifying the presence of fields on a web page using Selenium WebDriver and the Page Object Model (POM) framework. This tutorial demonstrates a data-driven approach by reading field names from an Excel sheet and asserting their presence with a custom Java method.
▶️ Step 1 - Create a Excel and add Field names you want to assert on different page in the different sheets.
▶️ Step 2 - Read data from Excel - For this we will create ExcelReader class and create method getFieldNamesFromExcel to read excel data and store in a ArrayList.
▶️ Step 3 - Create getElementByFieldName method to get the corresponding WebElement for Fields
▶️ Step 4 - First check the element state using getElementPresentState method and then use isDisplayed method
▶️ Step 5 - We will use Assert.assertTrue( ) so when all the fields are present then only this will pass otherwise assertion will fail even a single field is not shown.

⚡️ Full Playlist Link - Selenium Automation Framework using Java -    • Automation Framework Design from Scra...  

⚡️ Most of videos are of around 30 Minutes. So you may play the video with 1.5x speed if you don't have that much time, but please try to watch completely so that you can understand framework design concepts and explain easily in the interviews. All the best.

Thanks for watching! Happy coding and automating!

▶️ If you have any queries , questions or suggestions, please add in the comment. I will be happy to hear suggestions and feedback from you so that I can improve the same. Help your friends to learn automation by suggesting the channel. Thanks
======================================
***************AJ AUTOMATION*************
======================================
Hi guys, Please share and Like the content whichever you find informative to reach more beginner candidates learning Test Automation. Thanks for your Support !!

🔔 Learn automation from basic !! 🔔

✅ Let's Learn the Concept in 5 To 10 Mins :=
   • Test Automation Interviews Preparatio...  

✅ Selenium series videos Playlist :=
   • Selenium tutorial for beginners - Mos...  

✅ Maven Tool videos playlist :=
   • Maven Tool - Learn Basics To Advanced...  

✅ Selenium WebDriver Exceptions Playlist :=
   • Selenium WebDriver Exceptions  

✅ Selenium Grid With Docker:==
   • Selenium Grid With Docker - Learn To ...  

✅ Jenkins Tool Series :==
   • Jenkins Tool Sessions - Learn Jenkins...  

✅ Upload and Download Files in Selenium :=
   • Selenium WebDriver - Upload and Downl...  

✅ Excel and CSV files operations :=
   • Excel and CSV -- Read Write Operations  

✅ Java Language Concepts :=
   • Java Language Concepts - By AjAutomation  

✅TestNG Framework Videos:=
   • TestNG Introduction and Why we use Te...  

✅ Become Master in Xpath:=
   • Xpath Introduction  

✅ Protractor series videos playlist :=
   • Let's Learn Protractor - By AjAutomation  

✅ Recent Uploads :=
   • Recent Uploaded Videos  

✅ GitHub Repo:= https://github.com/ajautomation

⚡️ Thanks for your support !! ⚡️

======================================
*************** Thanks for watching !!*************
======================================


⚡️ Keep Learning...Keep Sharing...Keep Growing. ⚡️


#Automation
#testautomation
#SeleniumWebDriver
#javatestingframework
#seleniumautomachinetesting
#seleniumwebdriver
#seleniumautomation
#testing
#seleniumtutorialforbeginners
#automationframework
#seleniumframework
#softwaretesting
#java
#testng
#eclipse
#maven
#selenium4
#seleniumtutorials
#seleniumjava
#seleniumautomation


Смотрите видео Session 5 - Verify Presence Of Fields in Selenium Java | Read Field Names from Excel & Verify on UI онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал AJ AUTOMATION 02 Август 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 334 раз и оно понравилось 8 посетителям.