How often you should run your automation

How often you should run your automation

In this article I’m going to describe several strategies on how frequently you should run automation in your project. I will try to tackle all the possible variations, so everyone will be able to pick something out that suites for his/her project. You can ask, why are there more than one possible solution? The answer is simple: it depends on several factors. All the companies, that are using automation in their projects, have different needs and financial situations. They are…

Read More Read More

Simplicity is the ultimate sophistication

Simplicity is the ultimate sophistication

In this article I want to write about the automation code that is impossible to read. I’ve seen around 10 automation projects in my life and 8 of them were written using a very complicated code. I want to share my opinion on the reasons why that happens. The separation on Software Developers and Test Engineers The problem that I see here is that Test Automation Engineers feel themselves underestimated in comparison to Developers. From my point of view both…

Read More Read More

Manipulating the test data

Manipulating the test data

Once I started to work on a terrible project. Where all the possible mistakes were done. But I’m really thankful that it has happened, because now I know how the project shouldn’t look like. One of the learning that I took from this situation is that you should do the proper data management. The test data should be reliable and reusable, otherwise your tests will be flaky. Independence from the test system My vision is that a test should be…

Read More Read More

Visual testing as a supplement to the existing automation project

Visual testing as a supplement to the existing automation project

Not long ago I attended Automation Guild Conference. There I’ve learned about the possibilities to integrate visual testing in the existing automation framework. The theme was interesting to me, because it has answered the question regarding the mobile automation usefulness. While this conference the presenters used Applitools for their visual tests. So, I made up my mind to give it a try. Why visual testing is a great supplement to the automation For a long time I’ve heard things like: “automation…

Read More Read More

Running parameterized jobs on Jenkins from PR on GitHub

Running parameterized jobs on Jenkins from PR on GitHub

In this article I will describe the way of running jobs on CI from the comment in GitHub pull request. This can be any kind of job you may need to perform, but mostly it makes sense to run tests there. At XING, we have successfully implemented it and have the possibility to run Unit tests, Automation tests, Visual tests and static code analyzers from the pool request. How it looks like In the screenshot below you will see an…

Read More Read More

CI role in mobile automation

CI role in mobile automation

Continuous integration server or simply CI, is a very important aspect for every software product. Especially it is important for the mobile projects, as every time you want to test something you need to build your APP. In this article I will explain how CI helps to make Software Engineers lives easier. Why we need CI CI has a lot of functions like: running automation/unit/performance tests and getting colourful reports, running deployment jobs and other tasks. But which goal are…

Read More Read More

Set your APP into the testable state

Set your APP into the testable state

Sometimes, you may come up with the idea to shorten time of your tests execution by preparing your APP to be in the testable state for the moment when the test starts. This totally makes sense, especially in mobile UI automation which is incredibly slow. Some people call this approach “Power over purity”. We will review pros and cons in this article. Approach meaning By preparing the APP to be in the testable state I mean calling APP’s methods from…

Read More Read More

Page Objects

Page Objects

Nowadays there are a lot of talks about page objects and the screenplay pattern. Let me also express some thoughts regarding this. In this article I will apply practical knowledge on the sample mobile project using Calabash framework. But first… If you don’t use page objects in your project, do it! Seriously, just drop other plans and implement it right away. Page objects are very easy to be implemented and they drastically improve project maintainability and scalability. But how Page…

Read More Read More

Mobile Automation Project Example

Mobile Automation Project Example

In my previous article I explained why it is not a bad idea to use Cucumber as an automation tool. In this one I’ll show using the real example how it works. Also we will get closer to mobile automation, as for the sample project I will use Calabash iOS and Android. You’ll ask why Calabash and not Appium? The answer is simple – I just like this tool. Later I’ll publish article series about iOS mobile automation tools evaluation,…

Read More Read More

How to convince your colleagues to write automated tests or why would you use Cucumber as an automation tool

How to convince your colleagues to write automated tests or why would you use Cucumber as an automation tool

How to convince your colleagues to write automated tests? I think that a lot of people have asked this question and probably already found a dozen of correct and incorrect answers. In this article I’ll try to describe the way, how the automation framework was successfully implemented for several teams in different companies. Also I’ll speak about the reasons why you might use Cucumber in a wrong way. Project setup: It is good when your project has a dedicated team…

Read More Read More

Skip to toolbar