Skip to main content

Life of automated tests

Automated Test Need Maintenance

What stakeholders hate to hear is the news "Automated test will not work in this environment need maintenance". In the current industry trend many organizations will manage multiple versions of code going through different kind of changes or unique configurations settings. I am sure many of you in test automation area may be looking for one tool which supports sustenance of automated tests % while product is going through changes, 

When to start focusing on test automation?
Some industry veterans recommend to look at automation effort only when product is stable. But some people say automated tests always increase speed of going to market  so start anytime it is worth. Who is right? we are not sure. But challenge of sustaining automated test % in a given environment is always there for all of us. 

Multi stage of product 

A build developed goes through development environment, QA environment, Pre-production environment and production environment. On top of it if you have a key customer configuration environment where support traffic is tough to handle increases challenges for final deployment decision.

Development Environment

The dynamically changing code is on development environment. Here we always wish to see that smoke test suite is automated for all feature and it runs every day. This is also a stage where person responsible for writing code ensure it is robust. Maximum issues are found later are traced back to escape from this stage. I know it requires a revolutionary change for developer to arrest few issues when they write code (Look at STAG Software one of the offerings in this zone. Very nicely articulated on trend and challenges here). 

QA Environment

Next is QA environment where we push the build from development environment to QA as per project plan. Here we wish even basic interfaces are tested with automated tests and it should work. Many new features that released to QA may get tested with automated tests. What we group as regression tests also executed here. % automated regression tests is a vital key metrics organization to watch.

Pre-production Environment

Next to this is pre-production or staged environment where product is all most tested in a real production environment kind of situation. More of  smoke test suite is what we prefer though regression is welcome here. From my experience I witnessed many organization doing regression test suite running on QA environment itself. The test cases may vary between each stage so tool must support version number for test cases so that during execution depending on environment we can pick the right test case version and related test data to executed automated tests.

Production Environment

Final is a production environment. This is a short window of production downtime to deploy the new version and hand over to support team. Automated smoke test full or partial to be executed based on history of deployment related issues from the field. Many times the package of release will have some scripts to be executed to ensure protection of existing configuration status, db changes impact etc. This event is closely watched by many and rollback option must be available if risks are seen after deployment. Failure here is a painful issue to manage for all levels in the organization.

The configuration of key customers whose support issue traffic was painful to handle in previous release must be tried at pre-production environment automated test results must be available for final decision on these configurations in particular. With testing on cloud possible now we should focus on firing automated tests on different key configurations settings. Therefore automation tool should support cloud execution also.


Comments

Popular posts from this blog

Lock down a new experience

Did we learn anything from this Covid-19 forced lock-down? I thought many of us experiencing something which we never experienced in our life so far. Let me share what I am going through in my first blog of this series, it may encourage people to share what worked for them so collectively we may get ideas on how to prepare to handle situation when lock- down is removed. Before lock-down After lock-down Get up at 6:00am go for yoga class between 6:30 to 7:30am. Read NEWS paper, get ready, neatly shave beard (though it looks like not required every day) and wear nicely ironed clothes, have breakfast, pack-up my lunch box and leave for office at 9 am. Reach office by 10:15 to 10:30am. Stand-up meeting with leadership team and get onto my daily planned activities. (We have/ sorry had 😊 a cook who comes at 6:00am and used to prepare breakfast and lunch to take for office). Get up 6:30am and help my wife in preparing some breakfast, squ...

Managing Software Project Failures

Software Engineering is yet to find one solution where probability of success of meeting all objectives are high. Even though there are many research happening, people are still believing in process fine-tuning as one of the solution. The current trend is to adapt agile methodology with shorter sprint cycle of delivery to get customers feedback faster. Tool penetration in the Software Development Life Cycle also reduced human errors, improved productivity and reduced variance significantly.  This is one engineering field where tools are still evolving in each phase. Success in one phase is making people control schedule, quality and cost variance in projects significantly. That phase is functional testing phase.  In this blog I would like to share some of the challenges in functional test automation and approach which worked for me while consulting organizations.  I summarize the challenges I heard which you may hear in some of your current business situations....