Tuesday, October 7, 2014

Renew web & mobile automated testing with a new Page Model -based tool

Today more and more services are becoming web based. This means that modern user interfaces are built using HTML5 and other web technologies, even in embedded environments. At the same time applications and services are becoming more complex which means that testing is more crucial than ever in bringing high quality software to markets on time.

There are several existing tools to automate UI testing mostly based on different recording and playback methods. While it is easy to develop such tools, using them and especially maintaining test assets created with them is not very easy. Also it may be hard to match reported errors to actual web page elements (e.g. “element_id_zyz_2” is missing).

We decided to try a more innovative approach. We wanted to create a tool that is easy to use, while powerful enough for automating the testing of even the most complex and dynamic user interfaces. Also the solution should have long lasting support and have a wide cross-browser support across different desktop and mobile devices.

To meet the usability criteria we developed the Page Model approach. Here’s what it means in practice:
  • Page Model is similar to the Page Object, which represents the screens of your web app as a series of objects.
  • The difference is that the Page Model has more elements:
    • Information of web app screen and model type (full screen, selected area of screen)
    • Information of Page Objects (web elements and dynamic objects)
    • Screenshot of full screen or selected area of your screen
    • Methods containing the functionality of the web page (e.g. login method)
  • Page Model transforms the information of a web page's elements automatically to textual format that can be used instantly in creating test scripts.
  • Page Model screenshot visualises the web page and it is used for selecting objects in test creation.
  • Page Model file also contains methods that can be used to execute actions present on the web page. It can be understood as a Page Model specific “function library”.
  • After creating models, test scripts and methods can be easily constructed utilizing our graphical user interface

As a technology base we chose Selenium Webdriver, which has support of the largest browser vendors and is a widely used and well maintained Open Source tool. This is completed by the also Open Source Appium -framework to enable Selenium -based testing on mobile devices.

We combined these algorithms and technologies to Ixonos Visual Test(TM), which is a powerful set of tools for making testing easier both for test engineers and developers. With our tool you can plan, create, plan and maintain test scripts and test assets more visually. You can produce easily maintainable Page Models simply by browsing your web or mobile application. We have support for dynamic locators, javascript, AJAX and other special elements already implemented. We even have a solution for accessing HTML5 canvas elements from the test scripts; something at least we have not seen before. Everything is done with a modern powerfuI UI and the generated scripts are standard Selenium Webdriver format.


The best part is that the our tools also makes it possible to automatically detect changes to web pages. Detected changes (new and missing elements, broken methods) are visualized on top of the web page (see picture) and the tool even proposes fixes for those.


One of cool things is that you can generate tests graphically using a model graph UI that defines page model transitions and methods which are used there. The tool will go through the model graph and make test cases based on it.


To see introduction video, watch this:


And to witness the same approach applied to Android devices watch this:


Got interested? Visit our product pages for more information and a free trial Windows/Linux version.

And stay tuned for next innovations!


Anssi Pekkarinen, Solution Architect/Lead Test Automation Consultant - Ixonos Plc

22 comments:

  1. A web developer's 1st focus is mobile-friendly web pages that is a little difficult.
    We are providing Private Transportation Services in Vail CO and from us you can book luxury and safest rides for group tours.

    ReplyDelete
  2. You've supplied us with an interesting article. This is a fantastic resource for expanding your understanding of the subject. Thank you very much. test tag sydney

    ReplyDelete
  3. You've provided quite good information here. This is fantastic since it expands our knowledge and is also beneficial to us. Thank you for sharing this piece of writing. rcd testing

    ReplyDelete
  4. The blog is really informative, delivering the details regarding the technology and the working of automated testing. The article and such blogs can benefit and could be extremely beneficial to the people working at the companies providing the services of Economics Dissertation help to the clients worldwide. They need to known about the latest and upgraded technology and its working.

    ReplyDelete
    Replies
    1. Many people struggle with the process of DissertationWriter . They may not have the time to dedicate to the task, or they may not be skilled writers. In either case, it is worth hiring a professional to do it for you. A good dissertation writer will follow a detailed plan to get you the results you need.

      Delete
  5. Online Tutoring in UK, Eximus provides online tuition services in UK. We provide online tutoring services at UK, USA and Canada. Our subjects include high school, middle school, college, GCSE & A-levels, IB and AP program tutors.

    ReplyDelete
  6. Scilife Pharma Ltd is a dynamic and progressive Branded-Generic company that has been in operation for over 75 years. It is known for its high quality products and its focus on efficient, transparent, and safe operations.

    ReplyDelete
  7. The Page Model allows for more efficient and effective testing of web and mobile applications, ensuring that they are up-to-date and bug-free. This is a great way to ensure that web and mobile applications are functioning properly and are ready to be used by customers. It's an important tool for businesses to have to ensure that their products are working properly and are bug-free. kindly check my page named sheffield university assignment help speed or tell me who can increase image loading speed. Thank You!

    ReplyDelete
  8. IP Filtering SIM Card International Services Identification Module is a smart card similar to the SIM that may be used in a 3G (Third Generation Technology) mobile phone's IP Multimedia Subsystem (IMS) environment thanks to universally interoperable smart cards (UICCs). When applied to a standard Next Generation Network (NGN), which typically includes data and voice transmission in addition to other media such as video, IMS is the architecture for telecom operators. As long as all three SIMs, ISIM, USIM, and UICC are shared, all three may coexist.

    ReplyDelete
  9. Such informative and knowledgeable articles and blogs are liked and admired by everyone. People like to read the blogs which increase their knowledge. Moreover, the blogs on trendy and classic perfumes help them to identify the best perfumes which can enhance their personality.

    ReplyDelete
  10. If you own, manage, monetize, or promote online content via Google Search. You might be the owner of a growing and thriving business, the website owner of a dozen sites, the SEO
    Blogar

    ReplyDelete
  11. What an amazing blog. I really enjoy it. This is a fantastic and informative post. Continue to post; we'll be waiting for your next blog. If you are a students and looking for writing helper online then you can visit: writing helper free online

    ReplyDelete
  12. Thanks for posting information about this tools this is very helpful and informative and once again thanks for posting and keep it up.
    from: embroidery digitizing online

    ReplyDelete
  13. Amazing blog and very helpful tool and thanks for posting and keep it up
    from:online shopping

    ReplyDelete
  14. The ease of employing roaming M2M SIM Card is unparalleled regarding fleet management. It's far more convenient and affordable than buying local SIM cards in each place you visit.

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

    ReplyDelete
  16. Renewing web and mobile automated testing with a new Page Model-based tool is a strategic move to enhance the efficiency and reliability of the testing process. Page Model-based testing tools bring a structured and intuitive approach to test automation by representing the application's web pages or mobile app screens as distinct, reusable components. This approach simplifies test script creation and maintenance, making it easier to adapt to changes in the application's UI. With a well-defined Page Model, testers can focus on creating modular, maintainable test scripts that are more resilient to updates and changes in the application.. divorce custody laws
    Divorce Lawyers Northern

    ReplyDelete
  17. What an amazing blog. I really enjoy it. This is a fantastic and informative post. Continue to post; we'll be waiting for your next blog.
    Abogado Federal de Defensa Criminal

    ReplyDelete
  18. Students who are pursuing BSc from various universities can check their bsc date sheet online and prepare for their exams accordingly.

    ReplyDelete
  19. Wow, this is such a game-changer! I absolutely love the idea of renewing web and mobile automated testing with a new Page Model-based tool. Automation is the future, and this tool seems to be paving the way for a more streamlined and efficient testing process. It's incredible how technology is advancing and offering us innovative solutions like this.
    The Page Model approach is definitely a smart move. It allows for better organization and maintainability of tests, making it easier to identify and update elements on different pages. This would greatly enhance the efficiency of the testing process and save precious time and resources.
    With the continuous advancements in web and mobile technologies, it's crucial to keep our testing tools up to date. This new tool seems to be the perfect fit for the fast-paced and ever-evolving digital landscape. I can't wait to see the impact it will make on our testing efforts. Kudos to the developers behind this brilliant tool!

    motorcycle accident virginia

    ReplyDelete
  20. If you need any bankruptcy lawyer near you kindly contact us. bankruptcies lawyers near me

    ReplyDelete