Steps of the Test Cases :
- Go to http://demosite.center/wordpress/wp-login.php
- Enter "admin" in the "Username" field
- Enter "demo123" in the "Password" field
- Click on the "Log In" button
- Verify that the text "Howdy, admin" is present -- Test Case 1
- Click on the "Posts" link
- Click on the "Add New" button
- Type "Selenium and TestNG Demo program tester28" in the title field
- Click on the "Publish" button
- Verify that the text "Post published" is present -- Test Case 2