Topcoder Blog Test Suite

Register
Submit a solution
The challenge is finished.

Challenge Overview

Project Overview

This challenge should develop automatic test suties for topcoder.com by selenium.

Competition Task Overview

This challenge should use Selenium to develop automatic test cases for following scenarios:

Topcoder Blog functionality

Description

1. Go to "tcqa1.topcoder.com"

2. Click on link "Blog". (Expected 1)

3. Click on any blog category displaying at the top. (Expected 2)

4. Verify link "Subscribe to <selected category name>" is displayed on the page.

5. Verify the sorting order of blogs. (Expected 3)

6. Select any categories page by clicking small circles displaying at the bottom of Categories list displaying as right.  (Expected 4)

7. Select any category from "Categories" list.  (Expected 2)

8. Verify the sorting order of blogs. (Expected 3)

9. Click on link "Continue Reading >" for any of the blog displaying on the page (Expected 5)

10. Click any category under blog name. (Expected 2)

11. Click on "Show More" button displaying at the bottom of the "Popular Posts" list. (Expected 6)

13. Click on any post from the "Popular Post" section displaying at right.  (Expected 7)

14. Enter your email address and click Subscribe in "Subscribe To Updates" section.

15. Complete subscription process for all the for options (Facebook, email, twitter and google+ ) and click Subscribe me! Button

16. Verify email account to get subscribed. (Expected 8)

17. Click share via icons like, Facebook, email, twitter or google+ displaying at the end of the blog.(Expected 9)

18. If not logged in, provide credentials to login to the site.

19. Once login notice the post. (Expected 10)

20. Click on Share button. (Expected 11)

Expected

1. User should be landed to the blog home page.

2. Blogs page relate to the selected category should be displayed.

3. Blogs should be sorted in recent first order.

4. Selected blog category page should display,

5. Whole blog should be displayed.

6. Every time user clicks on Show More button 3 more post should be added in the list.

7. Selected popular blog detail page should be displayed.

8. User should be able to subscribe to blog updates.

7. Page should load all blog related to that category.

9. Corresponding site should open up.

10. Blog name + url should be displayed in post textbox.

11. User should be able to share post.

Verification

Please use qa.topcoder.com/v2/ to verify the requirements.

You can find the api specification here: docs.tcapi.apiary.io

Spreadsheet driven test suite

This test suite should be spreadsheet driven test suite. The java code should red the test steps from the spreadsheet and execute it via Selenium Web Driver.

Please refer to the attached spreadsheet 'Sample_SpreadSheet.xlsx' . Here, the column Action contains the names of the methods/functions that need to be called to perform a particular action. Column 'Objects/Fields' contains the object on which the action need to be performed. The identifiers to locate these objects are specified in the sheet'Local Object Repository'. Column 'Associated Data Column' contains some data value that the method may require. 

Technical Requirements

The common methods should be put in Helper class so it can be reused by other test suites. e.g. access topcoder api, login (many test suites need user to login first), retrieve data from list, etc.

Don't use JUnit, TestNG or any other framework. Use a main method to run the test cases.

Technology Overview

  • Java
  • Selenium


Final Submission Guidelines

  • Source Code
  • Test Result
  • Steps to run the test suites

Review style

Final Review

Community Review Board

Approval

User Sign-Off

Challenge links

ID: 30046885