As we stated in the previous article, in most cases it is impossible to make search in the admin panel using the ID parameter, so instead we have to frequently use the Xpath locators to effectively use the automation. But in this case along with losing the flexibility we also encounter another problem – it significantly increases the time to search and find an element and, therefore, the time to execute tests. This is not so noticeable if you are trying to automate acceptance tests only. But if you need to automate the complete project, the speed of the test execution increases enormously.
When automating tests for Magento you may encounter certain difficulties with using Secret Key in URL and with MD5 code in the IDs of most buttons. Read more
As soon as we became aware of the upcoming event, we immediately made reservations for our team. Initially we planned to send the whole team of developers, but due to certain issues with Polish visas we did not manage to apply all necessary documents within such a short period of time. Of course, all of us were disappointed, but there was no other way out, so it was agreed to send me as a sole representative who would keep the rest of the team updated via the Internet.
Fortunately, the hotel where the meeting was to take place is located in the very city center, just 10 minutes walk from the train station, so I had an opportunity to do some sightseeing as well.
When it is preferable to use automated tests
There are some points to be considered before starting using automated tests in your company: first of all, think whether your investments will be payed off shortly and whether you are planning to add new functionality to the module or it will be sold in conjunction with other modules. Because this will entail repeating the same tests again and again and increase in regression testing, which will influence the costs of testing and as a result will affect the price of the final product. Automated tests are definitely preferable if you know that your project will evolve, i.e. you are planning to develop and issue new versions that are compatible with new Magento versions. In general, the level of test automation is considered individually for each project, but in most cases the acceptance phase is automatized in the first place. This happens because the main aim of acceptance tests is to quickly run through the major product functionality, without going deep into any specific part. That is why they are easy to modify in case some program part is changed. The implementation of development standards which would regulate the usage of recursion, the level of nesting agents, the usage of constants, naming conventions etc, can help avoid further test compatibility problems. Read more
Every time before testing, the necessity to create user accounts, multilevel catalogs, items with specific characteristics and other stuff naturally arises. It sometimes takes a lot of time. In this article, I want to share my timesaving experience of working with repeated actions.
We of course can use same Magento, simply switching between modules every time. There is, however, no guarantee that previous module hasn’t left footprints impacting badly on new module. For proper testing, we want to use “blank” Magento for every module. Read more
There are differences between testing of software developed internally and third-party products. BelVG testers deal more often with our newly created Magento and Prestashop extensions than with customized products.
When you work for a client, you choose software testing methods depending on a number of hours paid. As a rule, there is enough time to do all positive testing and at least part of negative testing. Testing of own software can last for a long time which is something to be avoided.