Skip to content
QiTASC.com / Troubleshooting /
Logical Errors
/ .. /
Logical Errors










Troubleshooting: Logical Errors

In the example below, A sends a text message to itself and in line 8, B expects to get an SMS from A. The test case fails on line 8, because B will not receive the message.

Example

1
2
3
4
5
6
7
8
9
1   Feature: SMS
2     Scenario: SMS_originatedBasicSMS
3      Given an Android phone as A
4       And an Android phone as B
5         And A composes a short message
6         And A types "Hello, world"
7         And within 30 seconds, A sends the short message to A.number
8         Then within 120 seconds, B receives a short message from A.number as sms
9       Then verify sms.text == "Hello, world"
The protocol log shows that B hasn't received a message within the defined timeout.

Note: The error message in the example above can be generated in other instances. For example, a phone may not receive a message within a timeout because of a network error or a problem with its balance.