5. Selenium WebDriver || Java || Close & Quit API || HTML Unit Driver.

preview_player
Показать описание

#seleniumwebdriver #java #selenium #automationtesting

The complete playlist is available here

#Udemy Courses with Discounts

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

Thanks Rahul for this great explanation..it was really helpful.

goelsugam
Автор

#TheRobloxBloxa : Assert is used for validation purpose. If I am asserting the title of webpage that means, I am expecting a page with certain title. If it is not there then test case should fail. But in your case, you have to write custom assert to handle such cases.

RahulRathore
Автор

But what if you dont know what the webpage name will be? Like if the user types a url. Would I use:Assert.assertEquals(driver.getTitle(), drive.getTitle())I'm thinking that might crash the program?WouldAssert.assertEquals(drive.getTitle, null)That could crash it too xD Can you tell me what I would use?

throwawayemail
visit shbcf.ru