filmov
tv
Cross Browser Testing using TestNG & Selenium | Cross Browser Testing
![preview_player](https://i.ytimg.com/vi/VBK8RxJo3sw/maxresdefault.jpg)
Показать описание
Cross Browser Testing using TestNG & Selenium | Cross Browser Testing
Code:
public class crossBrowserTest {
// purpose - expose errors in front end functionality
WebDriver driver;
FirefoxOptions firefoxoptions = new FirefoxOptions();
ChromeOptions chromeoptions = new ChromeOptions();
EdgeOptions edgeoptions = new EdgeOptions();
@Parameters("browser")
@BeforeTest
public void initializeBrowser(String browser) {
driver = new FirefoxDriver();
}
driver = new ChromeDriver();
}
driver = new EdgeDriver();
}
}
@Test
public void ValidateGoogleTitle() {
String expectedTitle = "Google";
}
@AfterTest
public void EndTest() {
}
}
Chapters:
0:00 - Introduction to the video
0:15 - Explanation of cross browser testing manually
1:53 - Program for cross browser testing
9:40 - Execution of the program
Next Steps :
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
Must Watch Playlists
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
#crossbrowsertesting
#selenium
#seleniumwebdriver
Code:
public class crossBrowserTest {
// purpose - expose errors in front end functionality
WebDriver driver;
FirefoxOptions firefoxoptions = new FirefoxOptions();
ChromeOptions chromeoptions = new ChromeOptions();
EdgeOptions edgeoptions = new EdgeOptions();
@Parameters("browser")
@BeforeTest
public void initializeBrowser(String browser) {
driver = new FirefoxDriver();
}
driver = new ChromeDriver();
}
driver = new EdgeDriver();
}
}
@Test
public void ValidateGoogleTitle() {
String expectedTitle = "Google";
}
@AfterTest
public void EndTest() {
}
}
Chapters:
0:00 - Introduction to the video
0:15 - Explanation of cross browser testing manually
1:53 - Program for cross browser testing
9:40 - Execution of the program
Next Steps :
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
Must Watch Playlists
---------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------
#crossbrowsertesting
#selenium
#seleniumwebdriver
Комментарии