Improving browser-based UI test automation : Konecranes case study

Abstract

Technical improvement is continuous in software development. Test automation is a trending modern quality assurance procedure. Automated testing focused on web application user interfaces has always been subject to maintainability challenges. Unpredicted changes are commonly causing complications to test automation relevance. The unpredictability of these changes is usually related to multiphasing within software development processes. This occurs especially in big IT1 organizations. This thesis was inspired by test automation project management work at Konecranes Global Oy. The thesis is based on observing software development process model change (from waterfall to kanban) from the test automation perspective. During the period of research, study was focused on finding any possible improvements aside from identifying model transition effects on the automation. The thesis discussion starts with laying groundwork for comprehending the manifold test automation structure while also explaining how it co-operates with the target software and its development process. The development processes are described in detail to give the reader a proper test automation perspective for the process model transition. Next the observation period is analyzed and identified improvements are expounded. Results explicate important technical findings to improve the automated testing of the target software. Dynamicity of the test data is found to be an important factor for shortening release related test automation adjustment process. Shortening the adjustment process increases test automation quality in terms of maintenance. Kanban made it easier to track development phases. This stabilized maintainability of test automation. The study raised a major improvement idea for enhancing the test automation scripting process. Idea behind the enhancement is to implement the grey-box testing method to the scripting process.Tekninen parannus on jatkuvaa ohjelmistokehityksessä. Testiautomaatio on trendikäs ja moderni laadunvarmistusprosessi. Web-applikaatioiden käyttöliittymiin keskittyvä testiautomaatio on aina ollut altis ylläpitoon liittyville haasteille. Arvaamattomat muutokset aiheuttavat usein vaikeuksia testiautomaation relevanttiudelle. Muutosten ennalta-arvaamattomuus liittyy yleensä ohjelmiston kehittämisen monivaiheisuuteen. Tämä ilmenee etenkin suurissa IT-organisaatiossa. Tämän tutkielman innoitti testiautomaatioprojektin ylläpitotyö Konecranes Global Oy:llä. Tutkielma perustuu ohjelmistotuotantomallin muutoksen (vesiputousmallista kanbaniin) tarkkailuun testiautomaation näkökulmasta. Tutkimuksella pyrittiin löytämään testiautomaation parannusmahdollisuuksia ja tunnistamaan tuotantomallin muutoksen vaikutuksia testiautomaatioon. Tutkielman käsitellään perusta moniosaisen testiautomaatiorakenteen ymmärtämiseksi. Samalla selitetään kuinka testiautomaatio toimii yhteistyössä kohdeohjelmiston ja sen tuotantoprosessin kanssa. Tuotantoprosessit kuvaillaan yksityiskohtaisesti, jotta lukija saisi kunnollisen testiautomaation näkökulman tuotantomallien muutokseen. Seuraavaksi tarkkailujakso analysoidaan ja havaitut kehitysideat tuodaan esille. Tuloksissa selitetään tärkeät tekniset löydöt kohdeohjelmiston testiautomaation kehitystä varten. Dynaamisen testidatan huomattiin olevan merkittävä tekijä julkaisuihin liittyvän testiautomaation sopeuttamisen nopeuttamiseksi. Sopeuttamisen nopeuttaminen parantaa testiautomaation laatua ylläpidettävyyden kannalta. Kanbanista johtuva selkeämpi tuotantovaiheiden seuranta mahdollisti vakaamman ylläpidettävyyden testiautomaatiolle. Tutkimus nosti esille merkittävän kehitysidean testiautomaation skriptausprosessin parantamiseksi. Ajatus parannuksen taustalla on toteuttaa skriptausprosessi käyttäen grey-box testausmenetelmää

    Similar works