Skip to content
QiTASC.com /
Snom Phone Steps
/
Snom Phone Steps





Snom Phone Steps

The following section describes Snom-specific steps. Snom installation and configuration details can be found in:

Snoms may also use the steps described in the Voice Call section.

Snom Phone Steps
Start Recording SIP Notifications
Stop Recording SIP Notifications
Verify SIP Notifications
Pressing Keys
Call Transfer
Call Forwarding
Deactivate Call Forwarding
Basic Test Case Examples

Start Recording SIP Notifications

Starts recording SIP notifications.

Syntax

1
<phone Identifier> starts recording sip notifications
Parameter

  • phone - The name assigned to the Snom phone

Example

1
And A starts recording sip notifications

This step is eligible for:

  • Timed

  • Deferred

Stop Recording SIP Notifications

Stops recording SIP notifications.

Syntax

1
<phone Identifier> stops recording sip notifications
Parameter

  • phone - The name assigned to the Snom phone

Example

1
And A stops recording sip notifications

This step is eligible for:

  • Deferred

Verify SIP Notifications

Verifies whether a SIP notification has been received.

Syntax

1
2
within <number Number> seconds, <phone Identifier> receives a sip <sipName Name>
    <status Status> notification
Parameters

  • number - The number of seconds

  • phone - The name assigned to the Snom phone

  • sipName - The expected SIP notification

  • status - May be one of on or off

Example

1
2
3
And within 30 seconds, A receives a sip DND on notification
And within 30 seconds, A receives a sip CFB on|+4369919135165 notification
And within 30 seconds, A receives a sip CFB off notification

This step is eligible for:

  • Deferred

Note: The on status may be combined with a telephone number. In these cases, a pipe (|) must separate the on from the telephone number.

Pressing Keys

Syntax

1
the <key String> key is pressed on <phone Identifier>

Parameters

  • key - The key on the Snom phone being pressed
    • This includes all numbers and special keys

Example

1
2
And the 9 key is pressed on A
And the CANCEL key is pressed on A

This step is eligible for:

  • Timed

  • Deferred

Keys Recognized by intaQt

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

  • *

  • #

  • F_HOLD

  • CANCEL, ENTER

  • OFFHOOK, ONHOOK

  • RIGHT, LEFT, UP, DOWN

  • VOLUME_UP, VOLUME_DOWN

  • MENU, REDIAL, DND, REC

  • F1, F2, F3, F4

  • SPEAKER

  • HEADSET

  • TRANSFER

  • CONFERENCE

Call Transfer

The following step transfers a call from a Snom phone.

Syntax

1
<caller Identifier> transfers the call to <number String>

Parameters

  • caller - The name assigned to the Snom phone transferring the call

  • number - The string representation of a phone number

    • This may be the result of an expression evaluation

Example

1
2
And A transfers the call to B.number
And A transfers the call to "+43123456789"

This step is eligible for:

  • Timed

  • Deferred

Activate Call Forwarding

The following step activates call forwarding to another number when the Snom phone is in a current state.

Syntax

1
2
call forwarding when <state State> is activated for <phone Identifier> to
    <number String>

Parameters

  • state - The state that will activate call forwarding

    • May be one of: UNCONDITIONAL, BUSY or NO_ANSWER
  • phone - The name assigned to the Snom phone

  • number - The string representation of a phone number

    • This may be the result of an expression evaluation

Example

1
2
And call forwarding when BUSY is activated for A to B.number
And call forwarding when BUSY is activated for A to "+43123456789"

This step is eligible for:

  • Deferred

Deactivate Call Forwarding

The following step deactivates call forwarding.

Syntax

1
call forwarding when <state State> is deactivated for <phone Identifier>

Parameters

  • state - The state that will deactivate call forwarding

    • May be one of: UNCONDITIONAL, BUSY or NO_ANSWER
  • phone - The name assigned to the Snom phone

Example

1
And call forwarding when BUSY is deactivated for A

This step is eligible for:

  • Deferred

Basic Test Case Examples

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
Feature: Basic call control
  Scenario: Phone call
    Given an Android phone as A
       And a Snom phone as B
     When A dials the number B.number
       And within 20 seconds, B detects an incoming call from A.number
       And after 5 seconds, B answers the incoming call
       And within 5 seconds, A connects
       And after 10 seconds, A ends the call and, within 15 seconds, he
       and B disconnect
     Then verify !A.isConnected()
     Then verify !B.isConnected()

Basic Fix to Fixed Call Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
Feature: Basic call control
  Scenario: Phone call
    Given a Snom phone as A
       And a Snom phone as B
     When A dials the number B.number
       And within 20 seconds, B detects an incoming call from A.number
       And after 5 seconds, B answers the incoming call
       And within 5 seconds, A connects
       And after 10 seconds, A ends the call and, within 15 seconds, he
       and B disconnect
     Then verify !A.isConnected()
     Then verify !B.isConnected()

Basic Voice Call with Reject Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Feature: Basic call
  Scenario: Phone call with reject
    Given an Android phone as A
       And a Snom phone as B
     When A dials the number B.number
       And within 20 seconds, B detects an incoming call from A.number
       And after 5 seconds, B rejects the incoming call
       And within 5 seconds, A's call is rejected
     Then verify !A.isConnected()
     Then verify !B.isConnected()