---
# System prepended metadata

title: README
tags: [Automation, Table Time, Wave One]

---

---
title: 'README'
disqus: hackmd
---

Tabletime Web QA Automation @ Wave One
===
## Table of Contents

[TOC]

## common.robot
> common.robot is where the reusable Keywords for the Automation are placed.

**Keywords used in common.robot**



| Keywords | Description |
| -------- | -------- |
|   Open Browser To Login Page   |   It will open the browser and redirect to landing page.   |
|   Input User_Login_Credentials   |   It will input the credentials like email and password to the login form.    |
|   User is Authenticated   |   This will check if the user is successfully landed inside the Super Admin Dashboard.   |
|   Company Super Admin   |   It will open partners dropdown, and it will click company button to get redirected on the list of companies listed.   |
|   Venue Super Admin   |   This will verify if the user has successfully created a company and will now add a new venue listing.    |
|   Route To Super Admin Dashboard   |   After finishing the test, it will navigate the user to the dashboard.   |
|   Test is Done   |   When all test is done this will terminate the browser session with a countdown.   |


tabletimeAuto.robot
---
> This is the robot framework used to interconnect the Resource and TestCases that contains a list of test cases and keywords used for the test.


```gherkin=
Feature: Test Cases 

  # This test case creates a new company profile.
  Scenario: Super Admin Create Company
    Given user is in Homepage
    And user Enter Login Credentials 
    Then user should be on the Dashboard
    And user redirect to Company
    And user Create Company

  # This test creates a new venue after creating a new company profile.
  Scenario: Super Admin Create Venue
    Given user is in add Venue
    And User Create Venue
    
  # This test creates a new menu counter after passing Create Company and Create Venue, 
  # this is also the last test in this automation. 
  Scenario: Super Admin Create Menu Counter
    Given user is in Update Venue
    And user Create Menu Counter
```


> Read more about Gherkin here: https://docs.cucumber.io/gherkin/reference/

Table Time Automation Flow
---
```sequence
Title: Table Time Automation @ Wave One
Super Admin->Browser: Super Admin Login Credentials
Browser->Dashboard: Super Admin now on Dashboard
Dashboard->Partners: Clicked Partners Dropdown
```

```sequence
Partners->Company: Super Admin now on Company List
Company->New Company: Creates New Company
New Company->Add Venue: Creates New Venue
Add Venue->Add Menu Counter: Created Menu Counter
```

```sequence
Title: After Test is Finished
Add Menu Counter->Dashboard: Redirects to Dashboard
```

> After the test were completed the browser will have a five (5) seconds countdown before it will get terminated. Termination of the browser means that the three (3) test cases have passed.

Resource and their Keywords
---
> This are the resources that are imported on tabletimeAuto.robot:



| 1_Create_Company.robot | 1_Create_Venue.robot | 1_Create_MenuCounter.robot |
| -------- | -------- | -------- |
| Click Add Button     | Click Add Venue     | User is in Updated Venue     |
| Select Country     | Add Location Name     | Click Add Menu Counter     |
| Enter Bank Account Name     | Set Schedules     | Enter Counter Name     |
| Enter Bank Number     | Clicked Monday Start/End      | Select Order Eta     |
| Enter Bank Branch     | Click Close and Set Schedule     | Click Status ON/OFF     |
| Enter Address     | Add Table Time Tips     | Click POS Integration     |
| Enter Company Name     | Enter Website Address     | Enter SWIFTPOS     |
| Enter First Name     | Enter Facebook Link     | Enter DOSHIIPOS     |
| Enter Last Name     | Enter YouTube Link     | Click Add Counter     |
| Enter Title     | Enter Instagram Link     |      |
| Enter Phone Number     | Enter Other Link     |      |
| Enter Email Address     | Select Services     |      |
| Enter Number of Location     | Click Order Ahead     |      |
| Select Type of Venue     | Enter Title Venue     |      |
| Select Estimated Daily Orders     | Enter Venue Phone Number     |      |
| Enter BIR Number     | Enter Mobile Phone Number     |      |
| Enter SEC Number     | Clicked Venue Status     |      |
| Enter Description     | Clicked Save Changes     |      |
| Click Status     |      |      |
| Enter Password     |      |      |
| Enter POS     |      |      |
| Select Order Options     |      |      |
| Select Liquor License     |      |      |
| Select Save Company     |      |      |
| Company Successfully Created     |      |      |




## Appendix and FAQ

:::info
**Find this document incomplete?** Leave a comment!
:::

###### tags: `Automation` `Table Time` `Wave One`
