1.0.3 • Published 1 year ago

@bespoken-sdk/test-integration v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Test Integration

This tool tends to be a test runner with integrations with different providers and Bespoken dashboard features.

Supported Integrations

TestRail

Required values

required keys

Variable nameDescription
TESTRAIL_USERNAMEThe user name
TESTRAIL_KEYThe password or Api Key
TESTRAIL_HOSTThe Test Rail Host
TESTRAIL_PROJECTThe project name
BESPOKEN_VIRTUAL_DEVICE_TOKENBespoken virtual device token
BESPOKEN_API_KEYBespoken API KEY

Sample:

TESTRAIL_USERNAME=''
TESTRAIL_KEY='xxx'
TESTRAIL_HOST='https://voxai.testrail.com'
TESTRAIL_PROJECT='Voxai Test'
BESPOKEN_VIRTUAL_DEVICE_TOKEN='phone-...'
BESPOKEN_API_KEY='api-...'

How to run:\ npm run process:testrail

Test structure supported

Suported keyword from step text

TokenDescription
ListenIt will listen for its following text, if there are multiple listen token in a row, those will be concatenated to produce a single test in Bespoken
SayIt will Vocalize its following text
PressIt will press the numbers

The expected property will be used as expected too in Bespoken.

Sample: | Step | Expected | | -------------- | ---------------- | | 1. Start call IN1000 | Thank you for calling the Clipper customer service center | | 2. Listen to IN6000 | To go back to Main Menu, say main or press 1 To access a different clipper card account, say switch or press 2 For any additional questions, say agent or press 0 If you are done here, just hang-up | | 3. Say What’s my clipper card balance? | Please enter your document number | | 4. Press 3 or say "No" | Thank you for calling clipper card |

The above steps will be converted into:

In Bespoken dashboard

Variables in test

If at any time a variable is required, it shoud be defined in the preconditions as variable:value, if more variables are required it should be enter in a new line. sample:

<phone>:11112
<another_variable>:its value

Is mandatory to have the phone variable defined always, it's value is the IVR Phone Number, sample <phone>:999123999

Add a trigger button in Testrail

It is possible to add a custom button to Testrail using scripts UI, more information can be found here

1.0.3

1 year ago

1.0.1

1 year ago

0.5.37

1 year ago

0.5.36

1 year ago

0.5.35

1 year ago

0.5.33

1 year ago

0.5.34

1 year ago

0.5.32

1 year ago

0.5.31

1 year ago

0.5.30

2 years ago

0.5.29

2 years ago

0.5.24

2 years ago

0.5.10

2 years ago

0.5.11

2 years ago

0.5.8

2 years ago

0.5.7

2 years ago

0.5.9

2 years ago

0.5.18

2 years ago

0.5.19

2 years ago

0.5.16

2 years ago

0.5.17

2 years ago

0.5.14

2 years ago

0.5.15

2 years ago

0.5.12

2 years ago

0.5.13

2 years ago

0.5.21

2 years ago

0.5.22

2 years ago

0.5.20

2 years ago

0.5.27

2 years ago

0.5.28

2 years ago

0.5.25

2 years ago

0.5.26

2 years ago

0.5.23

2 years ago

0.5.6

2 years ago

0.5.4

2 years ago

0.5.5

2 years ago

0.5.3

2 years ago

0.5.2

2 years ago