Presentation about UIAutomator

UIAutomation is an efficient way to help test our platform or app,but still it has its own advantages and disadvantages.

Advantages:

  • First of all,running automation script instead of doing test manually saves a lot of time.
  • Then,automation can simulate all kinds of operations of a user,or do a check at a specific point.
  • Some tests,such as stability test,may need to be done again and again.In this case,automation is just needed.
  • Besides,some tests may need to be done very accurately which is surely suitable for automation.

Disadvantages:

  • If we do the test manually,when we finish the test according to the test plan,we can do some further tests to explore more,while automation just do the part as scheduled.
  • We may focus on how well or efficiently the automation script works,but let's not forget it really takes so much time to write the script.
  • What's worse,when some changes are made to our tested platform or app,we need to modify our automation script too,which takes time and energy,and maintenance takes time too.
  • In some special cases,the expected results are not suitable for automation test,such as audio and video performance.
But after all,UIAutomation is a way for us to do the test automatically,efficiently and programmatically.We just mostly apply UIAutomation with the cases where advantages overweight disadvantages.

你可能感兴趣的:(Presentation about UIAutomator)