T E S B O

Tesbo

.suite file in Tesbo

.suite file in Tesbo #

Suite file helps you design test execution by adding a test to run. 

You can create a .suite file inside the suite directory. 

Following is the example of Suite File

– Create a loginAndScroll.suite file

Test: login on phptravels and verify user profile page using custom code
Test: login on phptravels site with valid Credentials
Test: Verify scroll to top functionality
Test: Verify scroll to horizontal functionality
Test: Verify scroll to element functionality

Run the test by .suite #

define suite name inside the config.json

"run": {
    "baseUrl": "https://www.phptravels.net/admin",
    "by": {
      "suite": [
        "loginAndScroll"
      ]
    },

also can define multiple suites at the same time.

"run": {
    "baseUrl": "https://www.phptravels.net/admin",
    "by": {
      "suite": [
        "loginAndScroll","smoke"
      ]
    },

also, have the ability to define the single line and multiline comment into the suite file, Tesbo will skip test from execution. 

Test: login on phptravels and verify user profile page using custom code
//Test: login on phptravels site with valid Credentials
//Test: Verify scroll to top functionality
Test: Verify scroll to horizontal functionality
Test: Verify scroll to element functionality
Test: login on phptravels and verify user profile page using custom code
/*
Test: login on phptravels site with valid Credentials
Test: Verify scroll to top functionality
*/
Test: Verify scroll to horizontal functionality
Test: Verify scroll to element functionality

Powered by BetterDocs

Leave a Comment