18 - How to skip a test InTestNG | Skip Exception
HTML-код
- Опубликовано: 23 окт 2024
- Here is the link for TestNG Full Play List ► bit.ly/3jGJ3YT
Here you will learn about
1. How to skip a test InTestNG ?
2. Why @Test(enabled=false) annotation is used ?
3. What is Skip Exception
Additional Info
Link for SDET/QA Interview Full Play List ► bit.ly/3frBpQZ
Link for API Testing Full Play List ► bit.ly/2BY0vHu
Link for Web-services Full Play List ► bit.ly/3bfK0Ef
Link for Protractor Testing Full Play List ► bit.ly/2ztlEIK
Link for Java Programs for Software Testers Full Play List ► bit.ly/2ZGeBFC
Link for Java Tutorial Full Play List ► bit.ly/2Z3tP8L
Link for TestNG Full Play List ► bit.ly/3jGJ3YT
Please subscribe to our channel ► bit.ly/2UIvFcm
and press the bell icon to get updates on latest tutorial.
Very helpfull to me . Thanks
I am glad to hear that :-)
Throwing SkipException actually fails the test. How do I not let the test to fail ?
You can use annotation enabled=false , That is also explained in this video.