Skip to content
Anuja Kumar edited this page May 20, 2015 · 17 revisions
Test Case Design Expected Outcome
Create a new workspace with unique name in RF Click on left button in top bar. Select 'New Workspace'. Enter workspace name and description(optional) in the modal and click 'Save Changes' A new workspace with given name gets created and listed under workspaces
Create a new workspace with existing name in RF Click on left button in top bar. Select 'New Workspace'. Enter workspace name that already exists and description(optional) in the modal and click 'Save Changes' A message saying another workspace with same name already exists- under the workspace name field shows up in the modal. And a new workspace does not get created.
Switch Workspace Click the left top button on top bar. Select option to Switch Workspace. A modal should appear will with all the workspaces. The workspace names should be clickable. On selecting any one of the workspaces, all its projects and related data should get loaded.
Delete Workspace Click on the 'More' button in 2nd column and select 'Delete Workspace' A confirmation message should appear. Clicking 'Yes' should delete the current workspace and switch to default workspace.
Export Workspace New tab opens with workspace's JSON data and url in address bar.
Create a new project with name that is unique in current workspace Click on '+' against Projects in left column. A modal appears. Enter project name and description(optional) and click 'Save Changes' A new project with given name gets created and listed under Projects section of current workspace
Create a new project with existing project name in current workspace Click on '+' against Projects in left column. A modal appears. Enter project name that already exists in current workspace and description(optional) and click 'Save Changes' A message saying another project with same name already exists- under the project name field shows up in the modal. And a new projectdoes not get created.
Create a new project with name that is existing in another workspace Click on '+' against Projects in left column.A modal appears. Enter project name that already exists in current workspace and description(optional) and click 'Save Changes' A new workspace with given name gets created and listed under workspaces
Edit Project Click on the down arrow that appears on hovering mouse over a project, in 1st column. Select 'Edit Project' from the menu. A modal appears where project name and description are editable. Click 'Save Changes' Validation message will appear if project name is duplicate in same workspace or is empty. If there are no validation errors then the new name and/or description gets saved. The workspace does not change. If name is changed, it is reflected in the 1st column.
Delete Project Click on the down arrow that appears on hovering mouse over a project, in 1st column. Select 'Delete Project' from the menu. Confirmation message appears If 'Yes' is clicked, the project gets deleted.
Export Project Click on the down arrow that appears on hovering mouse over a project, in 1st column. Select 'Export Project' from the menu. Download pop up appears New tab opens with project's JSON data and url in address bar.
Create a tag with name that is unique in current workspace Click on '+' against Tags in left column. A modal appears. Enter tag name that is unique in current workspace and description(optional) and click 'Save Changes New tag gets created and listed under Tags in 1st column
Create a tag with name that exists in current workspace Click on '+' against Projects in left column. A modal appears. Enter project name that already exists in current workspace and description(optional) and click 'Save Changes Tag does not get created
Create a tag with name that exists in a workspace other than the current workspace Click on '+' against Projects in left column. A modal appears. Enter project name that already exists in a different workspace and description(optional) and click 'Save Changes Tag gets created in current workspace and listed under the Tags section
Edit Tag Click on the down arrow that appears on hovering mouse over a project, in 1st column. Select 'Edit Tag' from the menu. A modal appears where tag name and description are editable. Click 'Save Changes' Validation message will appear if tag name is duplicate in same workspace or is empty. If there are no validation errors then the new name and/or description gets saved. The workspace does not change. If name is changed, it is reflected in the 1st column.
Delete Tag Click on the down arrow that appears on hovering mouse over a project, in 1st column. Select 'Delete Tag' from the menu. The deleted tag should not be listed under Tags section in 1st column and also in request builder above URL. None of the requests should have the removed tag.
View Activity Log Should show latest first and older ones on navigating to further pages.
View request from Activity Log Click on Activity Log in 1st column. Select a request from activity log in 2nd column Request details get loaded in request builder section.
Run request from activity log Click on Run button in 3rd column to run the request The same request should show up again as the latest record in activity log (maintaining the previous one).
Star a request Select a request from activity log or enter values for new request. Click Star button from the top section of request builder The Star button should change to Unstar/color-change.And this request should appear under the 'Starred' requests.
View Starred requests Starred requests should be listed in 2nd column. They should be sorted as per their last modified date
Tag a request All the tags created in the current workspace should appear under 'Tags' in request builder with checkbox against each. Select the tag(s) to be assigned by selecting checkbox(es) The selected tag(s) should appear above the request url in the request builder. Also, when the assigned tag is clicked from the 1st column, the request should be listed in 2nd column.
View requests tagged as 'Important' Click on the tag named 'Important' All requests with tag Important appear in 2nd column.
View asserts of a saved request Click on the saved request from second column Request builder should show count on Asserts button. When clicked on it, a modal should show the saved asserts
View assert outcome of previously run request Select the request from the activity log In request builder section, the response section should contain a tab named Asserts, showing successful outcome out of the total. Clicking on this tab should give details of asserts, its expected and actual outcome when run
Quick view of type of request Click on the project and view its requests as tree in 2nd column Each type of request is shown as a different colour badge against the request name.e.g.GET in blue and POST in green
Save new websocket
Create new entity
Add fields in entity
Remove entity fields
Save new records in entity
See all the entity records
Edit request name in request builder section using pencil Request name should be editable. When clicked outside the box, should check name to be non-empty and then save.
Add an environment Newly added env gets added in environment selectbox.
Create duplicate environment name Enter env name that is existing Validation message to be shown and new env will not get created.
Delete an environment Environment selectbox is updated.
Use EL in request URL The variable in EL should be resolved to its actual value entered in the selected environment when it is run.
Add query params to a request Enter the key value pairs using Add Query Param button The params should get appended to the request url. url?key1=value1&key2=value2
Clear Body Request body becomes blank on UI(not saved in DB till Save clicked).
Clear Header Request Headers removed.
Clear Auth All authentication values and selection cleared.
Copy Response Response should be shown in new browser window.
Clone this wiki locally