Giter VIP home page Giter VIP logo

3botloginapp's Introduction

3botLoginAppTests

3botloginapp's People

Contributors

john-kheir avatar

Watchers

James Cloos avatar  avatar

3botloginapp's Issues

Implement Framework and all Test cases for 3botLogin app

  • This Story is created to track all the test cases that can be automated for 3botLogin app.
  • These tasks should for now cover testing the app on Android platform.
  • Appium will be used as the main framework to automated this test cases with all the required dependencies .

Here are the tasks that need to be completed

  • Implement a basic Framework #2

  • Test Case: A Registered user can login using the mobile-only flow #3

  • Test Case: A user registers using the mobile-only flow #4

  • Test Case: Check on preferences page main info #5

  • Test Case: Remove account from device #6

Test Case: A user registers using the mobile-only flow

Create a test case that automate a user registers using the mobile-only flow

Test Case Steps

 - Enter website through the app and  click `Sign in/up` button, should succeed
 - Choose `3bot Login option` , should succeed
 - Enter unregistered 3bot name and email then press `Register`, should succeed
 - The app opens automatically
 - Provide username pin code, confirm the pin then press OK, should succeed
 - Verify email address, should succeed
 - Re-enter pin and press ok, User should be logged in

Test Case: A Registered user can login using the mobile-only flow

Create a test case that automate a Registered user that can login using the mobile-only

Test Case Steps

 - Go to a website and  click `Sign in/up` button, should succeed
 - Choose `3bot Login option` , should succeed
 - Enter 3bot name then press Sign in, should succeed
 - The app opens automatically
 - Provide username pin code and press OK, should succeed
 - Make sure user is logged in

Notes

This scenario has 2 ways to be done:
1- Entering the website through a browser
2- Entering the website through the app
Please make sure both scenarios are implemented

Test Case: Remove account from device

Add scenario to remove account from device

Test Case Steps

 - Open the app, press preferences button, preferences page should be open
 - Press Advanced settings, should succeed
 - Press 'Remove account from device' then cancel, should get back to preferences page 
 - Press 'Remove account from device' then yes, should get back to 3bot home page

Implement a basic Framework for running test for 3bot Login app

The Framework should be able to :

  • Use Testng as a testing framework.
  • Use Maven or gradle as project management tool.
  • Implement Logging system.
  • Uiautomator2 as automation Driver as well as having the ability to choose between App or web Drivers.
  • Take screenshots when test fails.
  • Implement page Object model.
  • Start/Stop Appium server programmatically.
  • Define all needed global variables through a config file
  • Add any other utils that will be needed

Test case: Check on preferences page main info

Create a test case that checks on the preference page main info

Test Case Steps

 - Open the app, press preferences button, preferences page should be open
 - Make sure user can see his username
 - Make sure user can see his email
 - Press 'Show Phrase' and provide wrong pin code, shouldn't show phrase
 - Press 'Show Phrase' and provide right pin code, should show phrase
 - Press 'Close', should get you back to preferences page

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.