1.0.3 • Published 1 month ago

@bespoken-sdk/test-integration v1.0.3

Weekly downloads
-
License
-
Repository
-
Last release
1 month 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 month ago

1.0.1

1 month ago

0.5.37

1 month ago

0.5.36

3 months ago

0.5.35

3 months ago

0.5.33

3 months ago

0.5.34

3 months ago

0.5.32

4 months ago

0.5.31

5 months ago

0.5.30

5 months ago

0.5.29

5 months ago

0.5.24

6 months ago

0.5.10

10 months ago

0.5.11

10 months ago

0.5.8

10 months ago

0.5.7

10 months ago

0.5.9

10 months ago

0.5.18

10 months ago

0.5.19

9 months ago

0.5.16

10 months ago

0.5.17

10 months ago

0.5.14

10 months ago

0.5.15

10 months ago

0.5.12

10 months ago

0.5.13

10 months ago

0.5.21

9 months ago

0.5.22

9 months ago

0.5.20

9 months ago

0.5.27

6 months ago

0.5.28

6 months ago

0.5.25

8 months ago

0.5.26

8 months ago

0.5.23

9 months ago

0.5.6

10 months ago

0.5.4

11 months ago

0.5.5

11 months ago

0.5.3

11 months ago

0.5.2

11 months ago