- Navigate to https://go.discovery.com/
- Select “See All Shows” available in “Shows” tab
- Wait till the page loads and then select the shows which contain “APOLLO”
- Verify the Favorites (+ or -) status.
- If it is already set i.e. “-”, do unfavorite and icon should change to i.e. “+”.
- If it is not set i.e. “+”, do favorite and icon should change to i.e. “-”.
- Store all the favorite or unfavorite done titles in list.
- Once favorite or unfavorite is done, goto “My Videos”.
- Validate the favorite or unfavorite titles under “FAVORITE SHOWS”
Chrome 78
- Import as a maven project
- Right click on the testng.xml
- Select Run As --> TestNG Suite to run the suite.