How to use DataProvider for running same TestNG test on multiple browsers in Selenium WebDriver

preview_player
Показать описание
( Very IMP for Selenium Interview)
▶️ In this session, we will see - How to use DataProvider for running same TestNG test on multiple browsers in Selenium WebDriver

▶️ We will store browser names using 1-D array and using @DataProvider annotation.

▶️ These values then passed to @Test method and so same test will run on multiple browsers in sequence.

▶️ To run in parallel , we just need to set parallel=true in DataProvider annotation.

======================================
****************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 :=

✅ Selenium series videos Playlist :=

✅ Maven Tool videos playlist :=

✅ Selenium WebDriver Exceptions Playlist :=

✅ Selenium Grid With Docker:==

✅ Upload and Download Files in Selenium :=

✅ Excel and CSV files operations :=

✅ Java Language Concepts :=

✅TestNG Framework Videos:=

✅ Become Master in Xpath:=

✅ Protractor series videos playlist :=

✅ Recent Uploads :=

⚡️ Thanks for your support !! ⚡️

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

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

#LearnSeleniumInEasyWay #SeleniumWebDriver
Рекомендации по теме
Комментарии
Автор

very useful video about cross browser testing .

lakshmis
Автор

Very important interview question, Thankyou. One issue I have faced that I have used same steps but on my side Chrome and Firefox is opening but URL is not opening and execution never stops. So it is only opening blank browsers but not performing further steps. Strangely other scripts are running, I am not able to understand here what is the issue .Can you help ?

namratasingh
visit shbcf.ru