Cross Browser Testing using TestNG & Selenium | Cross Browser Testing

preview_player
Показать описание
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
Рекомендации по теме
Комментарии
Автор

hi bro it shows an error in tesng.xml as declare parameter
can you explain what is my problem with

yedukondalu