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.










113 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. Thanks for this blog. provided great information. All the details are explained clearly with the great explanation. Thanks for this wonderful blog. Step by step processes execution are given clearly.Know the details about different thing.
    Mobile App Development Company
    Android app Development Company
    ios app development Company
    Mobile App Development Companies

    ReplyDelete
  5. 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
  6. 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
  7. 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
  8. Thanks For Your valuable posting, it was very informative
    Schulungsangebote

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

    ReplyDelete
  10. 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
  11. 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
  12. Excellent post thanks for posting very informative post, i like this.
    MCA Project Center in Chennai | MCA Project Center in Velachery

    ReplyDelete
  13. 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
  14. Pretty blog, so many ideas in a single site, thanks for the informative article, keep updating more article.
    Software testing course in chennai

    ReplyDelete
  15. Great one,You have done a great job by sharing this content,Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.

    Python Training in Chennai
    Python Training

    ReplyDelete
  16. 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
  17. This comment has been removed by the author.

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

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

    ReplyDelete
  20. 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
  21. 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
  22. 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
  23. 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
  24. Really good information to show through this blog. I really appreciate you for all the valuable information that you are providing us through your blog. python Online course

    ReplyDelete
  25. 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
  26. 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
  27. And indeed, I’m just always astounded concerning the remarkable things served by you. Some four facts on this page are undeniably the most effective I’ve had.
    safety course in chennai

    ReplyDelete
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. Nice blog.. Thanks for sharing informative blog.. its very useful to me..
    Java Training in Chennai | Java Training in Chrompet

    ReplyDelete
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. Very informative blog. Thanks for sharing such good information and keep on updating.
    Summer Course Training in Chennai | Summer Course Training in OMR

    ReplyDelete
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. Thanks For Sharing The Information The Information Shared Is Very Valuable Please Keep Updating Us Time Just Went On Reading The article Python Online Course Hadoop Online Course Aws Online Course Data Science Online Course

    ReplyDelete
  61. Very cool!

    เว็บไซต์คาสิโนออนไลน์ที่ได้คุณภาพอับดับ 1 ของประเทศ
    เป็นเว็บไซต์การพนันออนไลน์ที่มีคนมา สมัคร Gclub Royal1688
    และยังมีหวยให้คุณได้เล่น สมัครหวยออนไลน์ ได้เลย
    สมัครสมาชิกที่นี่ >>> Gclub Royal1688
    ร่วมลงทุนสมัครเอเย่นคาสิโนกับทีมงานของเราได้เลย

    ReplyDelete

  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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

  75. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.

    Top Angularjs Training in Chennai
    Top Java Training in Chennai
    Top Bigdata Hadoop Training in Chennai

    ReplyDelete
  76. 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
  77. هوم کا یک مجموعه ارائه دهنده خدمات سلامت از جمله پرستاری، پزشکی و خدمات توانبخشی در منزل و محل شما است. هوم کا کادر مجرب مراقبت و درمانی خود را بسته به نوع درخواست به شما تخصیص می دهد. تنها با یک تماس و یا با چند کلیک می توانید از مشاوره و خدمات هوم کا استفاده کنید.
    پرستار سالمند معلول

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

    ReplyDelete
  79. 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
  80. 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
  81. 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

  82. I would like to thank you for the efforts you have made in writing this article, Its good and Informative.
    pega business analyst training
    pega business architect training

    ReplyDelete
  83. This post is very simple to read and appreciate without leaving any details out. Great work!
    data science course in noida

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

    ReplyDelete