TestCase 1: Test opening

  Code:

小组博客作业#11

 TestCase 2: New a course

Code 1: //without applying our default tags

 小组博客作业#11

 Screenshots:

   Original:

 小组博客作业#11

   Aim:

 小组博客作业#11

 Code 2: //Applying our default tags

 小组博客作业#11

  Screenshots:

    Original:

 小组博客作业#11

     Aim:

 小组博客作业#11 

TestCase 3: Delete a course

   Code: //co-test with the step of newing a course

 小组博客作业#11

Screenshots:

  Original:

 小组博客作业#11

   Aim: //The course “newcourse1” was gone!

 小组博客作业#11

TestCase 4: Test Memo

Code: //When looping, make the Line 1 invalid

 小组博客作业#11

 Screenshots:

    Original:

 小组博客作业#11

  Aim:

 小组博客作业#11 

TestCase 5: Test exam

Code: //Line 2&3 test modify number of words

 小组博客作业#11

 Screenshots:

   Original:

 小组博客作业#11

   Aim:

 小组博客作业#11 

总结

Sikuli使用简单,能够非常方便我们测试自己的背单词软件的GUI鲁棒性。在重复的按钮点击与各种组合的测试中能发现那些正常使用中很难出现的BUG,加强程序的稳定性。不过在我的使用中,可能是因为我们界面逻辑比较严密,发现的问题并不多,对我们程序质量的提升有限(有些bug在使用sikuli前发现),不过随着开发进度的深入,需要测试的界面元素也会增多,这种测试方法值得我们使用。

下载sikuli代码

《霸王背单词》下载

相关文章:

猜你喜欢
  • 2021-12-09
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案