Full Automated SMS testing? Get the job done!

本文介绍了一种实现全自动短信测试的方法,通过利用电信运营商提供的自动回复服务来验证短信发送与接收的功能。具体步骤包括触发短信、等待及验证回复,并清理测试环境。

Is it possible to create a full automated SMS test case? 

The essential of automated testing is to avoid any manual interrupt. So how to verify if a short message is sent successfully full automatically? How to verify a message is received successfully full automatically? Seemed have as some tester to do so.

Well, "Eventually, we can get it done!" said as Mr. CHEN, the carpenter who worked in my family. Ask "help" from the telecom providers. Typically the telecom providers provide automatic short message based service. For example, China Telecom users send 102 to 10001, will get a short message about the available phone prepay.So the full automated SMS test case (should say, this is a test scenario) looks like following:

 

  1. Send a trigger short message to the telecom provider. Verify the return value is necessary here.
  2. Wait for the reply short message from telecom provide.
  3. Receive the  reply short message from telecom provide (Send short message successfully).
  4. Verify the reply short message is the expected one (Verify this is correct responding).
  5. Delete the reply short message. (System clean up)
With this scenario, implement the full automated basic short message functional testing.

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值