Latest Automation Tutorials
Selenium – Appium – Rest Assured – Security
Switch To Iframe using Index
?? TestNG Program ?? ?? Output ?? ?? Element Location Screenshot ??
Java Basics Quiz5
Selenium Basics Quiz3
Check the Presence of JavaScript Alert Box
?? TestNG Program ?? ?? Output ??
Send Data to JavaScript Alert Box
?? TestNG Program ?? ?? Output ?? ?? Element Location Screenshot ??
Dismiss JavaScript Alert Box
?? TestNG Program ?? ?? Output ?? ?? Element Location Screenshot ??
Accept JavaScript Alert Box
?? TestNG Program ?? ?? Output ?? ?? Element Location Screenshot ??
Get Text From JavaScript Alert
?? TestNG Program ?? ?? Output ?? ?? Element Location Screenshot ??
Tag Name Locator
?? TestNG Program ?? ?? Output ??
Class Name Locator
?? TestNG Program ?? ?? Output ?? ?? Element Location Screenshot ??
Partial Link Text Locator
?? TestNG Program ?? ?? Output ?? ?? Output Screenshot ??
Link Text Locator
?? TestNG Program ?? ?? Output ?? ?? Output Screenshot ??
SalesForce Login
?? TestNG Program ?? ?? Output ?? ?? Output Screenshot ??
Get Webpage Source Code
?? TestNG Program ?? ?? Output ??
Get Webpage Title
?? TestNG Program ?? ?? Output ??
Navigate to URL
?? TestNG Program ?? ?? Output ??
Click on Browser’s Forward Button
?? TestNG Program ?? ?? Output ??
Click on Browser’s Back Button
?? TestNG Program ?? ?? Output ??
Refresh Webpage
?? TestNG Program ?? ?? Output ??
Creating Cells in Sheet
?? Output ? Output File Screenshot
Creating New Sheets in Workbook
?? Output
Creating Excel Workbook
?? Output
Selenium Basics Quiz2
Java Basics Quiz4
Selenium Basics Quiz 1
Java Basics Quiz 3
How to use skipException in TestNG? Give an example using code.
First of all, we need to understand there are two ways to skip any testcase from execution. One is using "enabled=false" property, The second one is using “Conditional Skip”. The above interview question is about “Conditional Skip” using skipException from TestNG. So,...