approx. tech: QATOK





On December 11, at the Odnoklassnikov office in St. Petersburg, approx. Tech will be held: QATOK - an event dedicated to quality assurance in IT projects and everything connected with it. Together with colleagues from OK, Mail.ru and Qameta Software, we’ll talk about performance measurements in Android applications, discuss visualization of autotest coverage, see why PageObject is already outdated and it's time to replace it.



Register on ok.tech: QATOK



If you want to see the descriptions of the reports and the schedule, then we invite you to cat.





Reinventing PageObject - Anatoly Ostapenko, Mail.Ru



image

In large Single Page Application, the use of the PageObject pattern is hampered by the fact that you have to describe locators and actions with a very large number of elements on a page in one class. Because of this, the writing of autotests slows down and the quality of the code suffers. I will talk about how we in the integration UI auto-tests abandoned the classic PageObject pattern and what we came up with in return for it. About how the new solution is related to code generation, how it helps to achieve strict typing of tests and how it speeds up their writing.



Measurements of productivity in the Android application - Anton Smolyanin, OK



image

Classmates are a huge service with over 70 million users. If we talk about mobile devices, the majority uses OK.RU on smartphones running Android. For this reason, we take the performance of our Android application very seriously. In the report, I’ll talk about why, in principle, deal with measurements, show acceleration graphs, share the history of how slow sections of the application were found and fixed, and also pay attention to Google’s recommendations on this issue.

Then we will deal with the tools, start with what you can see in Android Studio, then we will discuss console utilities. After that, I will share life hacks on how to configure the application in order to increase the accuracy of measurements and eventually integrate everything into the testing process. At the end of the report I will talk about the problems that had to be solved along this path.



Autotest coverage visualization - Artem Eroshenko, Qameta Software



image

Modern methods of measuring coverage are only good for development. However, the amount of useful information from coverage reports is extremely small. On the one hand, there are all lines of code that were not involved in the course of the tests. On the other hand, the only important information is the percentage of coverage. In this case, it is interesting not the absolute value, but the delta with the previous one. Artyom will present some simple solutions that allow you to evaluate the coverage of tests written by test automation.

  1. API tests. There is a swagger, during its execution we also collect a swagger. We consider the coating as a diff of two swagers. You can see what is covered, what is not, and what data.
  2. Web tests. During the execution of tests, we collect information about elements, pages and actions. As a result, we get the following format:

    1. Page;
    2. Elements
    3. Actions;
    4. Tests.


All this is sent to the plugin. On the page we draw the elements that were affected during the tests. Plus additional information: a list of tests on the video page.



As a result, you can very quickly answer the following questions:



  1. What is covered and what is not.
  2. As covered (just clicked or checked the text).
  3. What tests go through this page.
  4. Which items are most commonly used. In general, this is best avoided because it is a potential point of failure.
  5. Point to the test, see the video from Selenoid.
  6. Connected to Selenium. Can be easily completed for Puppeteer and for anything else. It will be convenient to understand what is being checked and why.


Report Schedule:



19:00 - 19:40 PageObject deprecated, time to come up with a replacement - Anatoly Ostapenko, Mail.Ru

19:40 - 20:30 Measurements of performance in the Android application - Anton Smolyanin, OK

20:30 - 21:00 Coffee break, pizza, chatting, networking

21:00 - 21:40 Visualization of autotests coverage - Artem Eroshenko, Qameta Software



We are waiting for everyone who wants to talk with experts in the field of quality assurance at the meeting on December 11 at their St. Petersburg office.



Come, it will be interesting and useful!



Register on ok.tech: QATOK



All Articles