Many people like me are in search for a automation framework for testing UI of there android application. I searched and explored several tools and later found that Android itself provides a powerful and efficient framework to Automate functional UI testcases that can be run against your app on one or more devices.
The UIautomator API includes classes, interfaces and exceptions to capture and manipulate the UI of target apps.
Let’s see the Pro’s and Con’s for the tool:
The UIautomator API includes classes, interfaces and exceptions to capture and manipulate the UI of target apps.
Let’s see the Pro’s and Con’s for the tool:
Pro’s:
1] Specially created for android UI testing
2] Simple and easy to use for Blackbox testing
3] Well documented tutorials to get started and creating scripts
4] Response time and Usability is better than HierarchyViewer of viewing hierarchy of views
2] Simple and easy to use for Blackbox testing
3] Well documented tutorials to get started and creating scripts
4] Response time and Usability is better than HierarchyViewer of viewing hierarchy of views
Con’s:
1] Webview is not currently supported
2] Lacks the feature of showing missing Views similar to HierarchyViewer however since during testing we are most of the times interested in visible views, this may not have major impact. If this feature is incorporated in HierarchyViewer then it may eliminate the dependency on HierarchyViewer.
3] Only supports API Level 16 and above
1] Webview is not currently supported
2] Lacks the feature of showing missing Views similar to HierarchyViewer however since during testing we are most of the times interested in visible views, this may not have major impact. If this feature is incorporated in HierarchyViewer then it may eliminate the dependency on HierarchyViewer.
3] Only supports API Level 16 and above
Would be publishing blog on creation and execution of UIautomator scripts soon......
No comments:
Post a Comment