Tuesday 19 January 2016

Getting Started with Automation

Hi all in this post is about moving your manual testing efforts into automation testing for your native and hybrid android application. Once you decided to for automation to save time for release cycle and to release quality App , then next step is to decide on which tool is suitable for your application, organization and team so that you can benefit form your automates test suits.

I am going to share with some top most automation testing tools for native and hybrid android application with their pros and cons so that you can make a better choice and take first step towards automation.

1. Appium

Appium is open source tool available for native and hybrid mobile applications testing for android as well as iOS. Appium uses vendor provided automation frameworks under the hood such as Apple's UI automator for iOS apps, for android apps 4.2 and above UIAutomator and 2.3 to 4.1 Selendroid.
Appium's architecture is client server based architecture. Appium server exposes REST API which recieves connections form client and executes those commands on mobile devices.Automation is performed in form of sessions and Desired Capabilities and the key to send information to server regarding the requires session.

Pros-
1. Appium client libraries supports multiple languages hence you can write test cases in different languages like Java, Ruby, Python, PHP, JavaScript and C#.
2. Appium supports cross platfrom script development.
3. Appium has large community support where you ask and share.
4. It supportd test running on physical devices as well as Emulators.
5. Supprt for native and hybrid mobile application for android as well as iOS.
6. Record and play back is available for Mac OS 

Cons- 
1. Record and play back is not available on Windows OS. 
Documentation is not user friendly.
3. Does not support image comparison.
4. Setting up takes some time especially in case of Linux system.
5. Limites Support for Gestures.
6. Limited support for android version < 4.1
7. No Support for Toast Messages.

 

2. Robotium

Robotium is also an open source automation testing framework for android. With robotium is very effective to write black box test cases and if you have sorce code you can also go for grey box testing.Its API is very simple and you can quickly start writing the UI automated test cases.


Pros-
1. Simple APIs provides to write test cases so that you can concentrate more on your test scenarios.
2. Supports back box as well as grey box testing.
3. Easy integration with Gradle, ANT and Maven.
4. Can be used with Jacoco to measure code coverage.

Cons-
1. To write test cases using Robotium one must have knowledge of Java 
3. Espresso

Espresso is an open source framework for native android applications developed by Google.Espresso is build on top of Android Instrumentation Framework.Espresso supports white box testing too.

Pros-
1. Supported for all android versions.
2. Simpler and Quicker to setup.
3. Supports Jacoco to measure code coverage.
4. Extensive testing is possible as it covers many UI actions and gestures.

Cons-
1. The test cases are written inside the android application project code and hence building project to run test case takes lot of time.

4. UIAutomator-

UIAutomator is test framework by Google fr native android apps and games.It comes with APIs to create UI test cases and execution engine.It supports devices with API level 16 and above. It is very good for native apps but lacks support for web views and hybrid apps.

Pros-
1.Simple and Easy to learn information is available.
2. Support is strongly maintained by Google.
3. Possible to to do cloud bases test management.

Cons-
1. Supports android version greater than 4.1.
2. Web view is not supported.










93 comments:

  1. Excellent post!!! Training on android technology helps professionals to establish a career in android mobile application development.
    Regards,
    Android Training in Chennai | Android Training|iOS Training in Chennai |iOS Training Institutes in Chennai

    ReplyDelete
    Replies
    1. Thanks Roshini for stopping by this blog :)

      Delete
  2. Testing now a days has become as importnant as developing of an application. With the help of testing, we can find out the potential bugs which would affect the application. Fixing this at a very early stage would help the application to run without any problem.
    Software testing training in Chennai | Software testing training institute in Chennai | Software testing courses in Chennai

    ReplyDelete
  3. Appium cons doesn't have 2

    ReplyDelete
  4. I am new to this field & have been reading as many articles a possible to enhance my knowledge in the past few months. Of all, I find your blog posts to be the most useful (along with a couple more) & I have learnt a lot this way. Thank you so much for spending so much time in researching & writing such wonderful articles…
    Digital marketing course in chennai

    ReplyDelete
  5. I am reading your post. It's very useful information for us. keep sharing..Linux Training Institute in Chennai | Linux Training Institute in Velachery.

    ReplyDelete
  6. I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
    VLSI Project Center in Chennai | VLSI Project Center in Velachery

    ReplyDelete
  7. This information is impressive; I am inspired with your post writing style & how continuously you describe this topic.

    ReplyDelete
  8. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.

    Android training in bangalore

    ReplyDelete
  9. Those guidelines additionally worked to become a good way to
    recognize that other people online have the identical fervor like mine
    to grasp great deal more around this condition.

    java training in chennai


    java training in bangalore



    java training in bangalore

    ReplyDelete
  10. Excellent post thanks for posting very informative post, i like this.
    MCA Project Center in Chennai | MCA Project Center in Velachery

    ReplyDelete
  11. You truly did more than visitors’ expectations. Thank you for rendering these helpful, trusted, edifying and also cool thoughts on the topic to Kate. JAVA Training in chennai

    ReplyDelete
  12. Even after the course is complete we commit to offer one year technical support to each and every student.
    Digital Marketing Training Institute in Chennai | SEO Training in Chennai

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. Thank you so much for your great and useful blog.

    ReplyDelete
  15. effective conersation and thanks for your blog.
    Python online training

    ReplyDelete
  16. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.Thank you for your pretty information.
    Data Science Training in Chennai

    ReplyDelete
  17. This was an nice and amazing and the given contents were very useful and the precision has given here is good.
    AWS Training in Chennai
    Data Science Training in Chennai
    Devops Training in Chennai

    ReplyDelete
  18. I wish to show thanks to you just for bailing me out of this particular trouble.As a result of checking through the net and meeting techniques that were not productive, I thought my life was done.


    python training in pune

    ReplyDelete
  19. Amazing Article ! I have bookmarked this article page as i received good information from this. All the best for the upcoming articles. I will be waiting for your new articles. Thank You ! Kindly Visit Us @ coimbatore airport taxi | Ooty travels

    ReplyDelete
  20. Your Blog is really awesome with useful and helpful content for us.Thanks for sharing ..keep updating more information.
    Java Training in Chennai | Java Training in Kanchipuram

    ReplyDelete
  21. It's very great post... Really you are... done a wonderful job Keep up the good work and continue sharing like this.
    Android Training in Chennai | Android Training in Kanchipuram

    ReplyDelete
  22. hanks for sharing this valuable information.. I saw your website and get more details..Nice work...
    Robotic Process Automation Training in Chennai | Robotic Process Automation Training in Taramani

    ReplyDelete
  23. I was more than happy to uncover this great site. I need to to thank you for your time due to this fantastic read!!
    Java Training in Bangalore | java/j2ee classes Bangalore |
    java Training Center Bangalore | Best Core Java Training in Bangalore | java Course in Bangalore

    ReplyDelete
  24. This is really too useful and have more ideas from yours. keep sharing many techniques and thanks for sharing the information.
    Microsoft Advanced Excel and VBA Macros Training in Chennai | Microsoft Advanced Excel and VBA Macros Training in Kanchipuram

    ReplyDelete
  25. Simply wish to say your article is as astonishing. The clarity in your post is simply great…thanks for sharing such a wonderful blog..
    iOS Training in Chennai | iOS Training in Tambaram

    ReplyDelete
  26. Very good and informative article. Thanks for sharing such nice article, keep on updating such good articles.
    Dot net Training in Chennai | Dot net Training in Perungudi

    ReplyDelete
  27. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge.
    Python Training in Chennai | Python Training in Madipakkam

    ReplyDelete
  28. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.
    ISTQB Training in Chennai | ISTQB Training in Guindy

    ReplyDelete
  29. The provided information’s are very useful to me.Thanks for sharing.Keep updating your blog...
    Software Testing Training in Chennai | Software Testing Training in Saidapet

    ReplyDelete
  30. Nice blog.. Thanks for sharing informative blog.. its very useful to me..
    Java Training in Chennai | Java Training in Chrompet

    ReplyDelete
  31. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
    Graphic Designing Training in Chennai | Graphic Designing Training in Keelkattalai

    ReplyDelete
  32. I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
    Android Training in Chennai | Android Training in Porur

    ReplyDelete
  33. Thanks for posting this useful content, Good to know about new things here,Keep updating your blog...
    Java Training in Chennai | Java Training in Meenambakkam

    ReplyDelete
  34. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.
    Best Software Testing Training Institute in Chennai | Best Software Testing Training Institute in T.Nagar

    ReplyDelete
  35. The provided information’s are very useful to me.Thanks for sharing.Keep updating your blog...
    ISTQB Certification Course in Chennai | ISTQB Certification Course in Sozhinganallur

    ReplyDelete
  36. This blog very easily understandable. Thanks for sharing such an informative post with us.This is a nice post in an interesting line of content.
    Software Testing Course in Chennai | Software Testing Course in Perungudi

    ReplyDelete
  37. I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
    Robotic Process Automation Training course in Chennai | Robotic Process Automation Training course in T.Nagar

    ReplyDelete
  38. Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating...
    Software Testing Course in Chennai | Software Testing Course in Keelkattalai

    ReplyDelete
  39. Thanks for sharing this valuable information.. I saw your website and get more details..Nice work...
    IOS Training Institute in Chennai | IOS Training Institute in Pallavaram

    ReplyDelete
  40. I have read your blog its very attractive and impressive. I like it your blog.
    Selenium Automation Course in Chennai | Selenium Automation Course in Pallikaranai

    ReplyDelete
  41. Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision.
    Best Java J2EE Training Institute in Chennai | Best Java J2EE Training Institute in Madipakkam

    ReplyDelete
  42. Nice Post! It is really interesting to read from the beginning and Keep up the good work and continue sharing like this.
    Advanced SoftwareTesting Course in Chennai | Advanced SoftwareTesting Course in Saidapet

    ReplyDelete
  43. Really nice topics you had discussed above. I am much impressed. Thank you for providing this nice information here.


    Software Testing Company

    QA Services

    Console Game Testing

    Game Testing Company

    Video Game QA

    ReplyDelete
  44. Your Blog is really awesome with useful and helpful content for us.Thanks for sharing ..keep updating more information.
    Web Designing and Development Training Institute in Chennai | Web Designing and Development Training Institute in Tambaram

    ReplyDelete
  45. Your blog is really amazing with smart and cute content.keep updating such an excellent article..
    Best Java J2EE Training Institute in Chennai | Best Java J2EE Training Institute in Medavakkam

    ReplyDelete
  46. Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision.
    IOS Training Institute in Chennai | IOS Training Institute in Tambaram

    ReplyDelete
  47. Very informative blog. Thanks for sharing such good information and keep on updating.
    Summer Course Training in Chennai | Summer Course Training in OMR

    ReplyDelete
  48. I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
    Vacation Course Training Institute in Chennai | Vacation Course Training Institute in Pallavaram

    ReplyDelete
  49. I have read your blog its very attractive and impressive. I like it your blog.
    Vacation Training Course in Chennai | Vacation Training Course in Adyar

    ReplyDelete
  50. Really i enjoyed very much. And this may helpful for lot of peoples. So you are provided such a nice and great article within this.
    Summer Course in Chennai | Summer Course in Medavakkam

    ReplyDelete
  51. Thank you for the nice article here. Really nice and keep update to explore more gaming tips and ideas.

    Video Game QA

    Game QA Services

    Focus Group Testing

    ReplyDelete
  52. Thank you for the nice article here. Really nice and keep update to explore more gaming tips and ideas.

    Video Game QA

    Game QA Services

    Focus Group Testing

    ReplyDelete
  53. Your Blog is really awesome with useful and helpful content for us.Thanks for sharing ..keep updating more information.
    Best Microsoft Azure Training Institute in Chennai | Best Microsoft Azure Training Institute in Pallikaranai

    ReplyDelete

  54. Recently I saw your post, This is a good explanation about this topic with depth content. I like more kinds of posting from your great blog for developing my knowledge.
    Excel Training in Chennai
    Excel Course in Chennai
    Pega Training in Chennai
    Embedded System Course Chennai
    corporate training in chennai
    Excel Training in Chennai
    Advanced Excel Training in Chennai

    ReplyDelete
  55. Thanks for posting this useful content, Good to know about new things here,Keep updating your blog...
    JAVA and J2EE Training Institute in Chennai | JAVA and J2EE Training Institute in Velachery

    ReplyDelete
  56. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.
    Graphic Designing Training in Chennai | Graphic Designing Training in Velachery

    ReplyDelete
  57. Thanks for sharing this valuable information.. I saw your website and get more details..Nice work...
    Trally Training Institute in Chennai | Tally Training Institute in pallikaranai

    ReplyDelete
  58. thanks for Sharing such an Awesome information with us.

    I learned World's Trending Technology from certified experts for free of cost.i Got job in decent Top MNC Company with handsome 14 LPA salary, i have learned the World's Trending Technology from Python training in pune experts who know advanced concepts which can helps to solve any type of Real time issues in the field of Python. Really worth trying Freelance seo expert in bangalore

    ReplyDelete
  59. Nice Post! It is really interesting to read from the beginning and Keep up the good work and continue sharing like this.
    Robotic Process Automation Training course in Chennai | Robotic Process Automation Training course in Porur

    ReplyDelete
  60. Really very nice blog information for this one and more technical skills are improve,i like that kind of post.
    Tally Training Institute in Chennai | IOS Training Institute in Adyar

    ReplyDelete
  61. This is really too useful and have more ideas from yours. keep sharing many techniques. eagerly waiting for your new blog and useful information. keep doing more.
    JAVA and J2EE Training Institute in Chennai | JAVA and J2EE Training Institute in Velachery

    ReplyDelete
  62. very interesting topic.Helps to gain knowledge about lot of information. Thanks for posting information in this blog.
    IOS Training Institute in Chennai | IOS Training Institute in Guindy

    ReplyDelete
  63. I have read your blog. It’s very informative and useful blog. You have done really great job. Keep update your blog.
    Android Training Institute in Chennai | Android Training Institute in Thiruvanmiyur

    ReplyDelete
  64. I have to voice my passion for your kindness giving support to those people that should have guidance on this important matter.

    Javascript Training in Chennai
    Oracle DBA Training in Chennai
    RPA Training in Chennai
    UIpath Training in Chennai

    ReplyDelete
  65. What you have written has helped me a lot. I was thinking where to get such useful information. I will visit your website for more such informative blogs.
    Software Testing Training in Chennai | Software Testing Training Institute in Chennai

    ReplyDelete
  66. Nice post...Thanks for sharing...
    Android Training in Bangalore | Android Courses in Bangalore - Tecmax
    - Tecmax offers the Best Android Training in Bangalore, We offer Real-Time Job Oriented Android Training with Live Projects, Our Android Trainers are Working Professionals with 6+ years of Expertise in Android, we also provide 100% Placement Assistance after Android Course Completion.

    ReplyDelete
  67. It's very great post... Really you are... done a wonderful job Keep up the good work and continue sharing like this.
    IOS Training Institute in Chennai | IOS Training Institute in Tambaram

    ReplyDelete
  68. وبسایت موسسه ستاره دانش پارسیان (اپلای استار) مرجع اطلاعات در خصوص تحصیل در آلمان، ویزای دانشجویی آلمان و کمک هزینه تحصیلی آلمان آماده خدمت رسانی و مشاوره به شما علاقه مندان به تحصیل در آلمان می باشد.
    بورسیه تحصیلی آلمان
    هزینه تحصیل در آلمان
    ویزای کانادا

    ReplyDelete
  69. To establish a network by putting towers in a region we can use the clustering technique to find those tower locations which will ensure that all the users receive optimum signal strength. machine learning and ai courses in hyderabad

    ReplyDelete
  70. Nice article as well as very informative about automation.Thanks for posting!!

    Another suicide after Sushant: 'Because Saas Bhi Kabhi Bahu Thi' fame TV actor Sameer Sharma commits suicide-The TrendyFeed News
    Latest entertainment News At the TrendyFeed.com

    THETRENDYFEED.COM is one of India's new business news publications - 60% of THETRENDYFEED.COM readers did not read another business paper, making TTF an important reach vehicle for top end audiences. TTF among business letters in reference to readers.

    For more information feel free to Contact Us
    Email us to contact us: - THETRENDYFEED@GMAIL.COM

    ReplyDelete
  71. Your blog is really amazing with smart and cute content.keep updating such an excellent article..
    ISTQB Certification Course in Chennai | ISTQB Certification Course in Velachery

    ReplyDelete
  72. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
    Appium Training in Bangalore

    ReplyDelete