Introduction to New Tool for Organization
The main considerations in selecting a tool for an organization include:
Assessment of organizational maturity, strengths and weaknesses, and identification of opportunities for an improved test process supported by tools.Evaluation against clear requirements and objective criteria.
A proof-of-concept to test the required functionality and determine whether the product meets its objectives. Evaluation of the vendor (including training, support, and commercial aspects).Identification of internal requirements for coaching and mentoring in the use of the tool.
The proof of concept provides us the answer of the below-written questions
- What are the reasons for choosing a test tool over another tool?
- Did it prove efficient?
- What are the shortcomings of the tool?
- Under which conditions, we will recommend a tool in the future?
Introducing the selected tool into an organization starts with a pilot project, which has the following
- Learn more detail about the tool.
- Evaluate how it fits with existing processes and practices, and determine what would need to change.
- Decide on standard ways of using, managing, storing, and maintaining and the test assets.
- Example (deciding on naming conventions for files and tests, creating libraries, and defining the modularity of test suites).
- Assess whether the benefits will be achieved at a reasonable cost.
Success factors for the deployment of the tool within an organization include:
- Rolling out the tool to the rest of the organization incrementally.
- Adapting and improving processes to fit with the use of it.
- Providing training and coaching/mentoring for new users.
- Defining usage guidelines.
- Implementing a way to learn lessons from use.
- Monitoring use and benefits.
The single technique to change your underlying tool while doing POC
The user interface objects are mainly
- Options button
There are many types of controls that may be implemented in standard. They need to be automated via wrapper functions. The wrappers will be called in further high-level scripts or components.
So building a wrapper around the tool’s control will give you more flexibility while changing the tool. You do not have to touch the scripts.
For a tool change, you have to change the wrappers. This way you can test the same flows with multiple tools and find the efficiency.
Rolling out Automation POC
Rolling out automation POC in a company for a large group of teams is a nice idea. So while we rolling out POC automation ideas, we need to keep the following in mind:
- Create Single structure/framework/standard – We need to leave a single structure for all our automation teams who will be part of the POC exercise. This will not create any ambiguity for the new tool, new people. This process makes the development time of the POC script real faster. since the framework or structure will be the same for all tools under evaluation. They can be judged in a better way.
- Set of Reviewers– There should be a predefined set of reviewers before rolling out POC automation for a set of tools into the org level. Each set of people having a reviewer tag can spend 40% to 50% of their time to review the code. This will ensure all teams follow the same standard or process.
- Responsibility to test correctly– During POC of any tool, testers should not bring old bags and baggage with them. The reviewers will ensure the review process of the tool is purely neutral. The result should be unbiased.
- Reusability– The automation test engineers need to be educated to build the code keeping reusability in mind. Reusable code puts down the development and maintenance cost in the long run. This will also give an insight into the tool on how it is behaving on reusability calls.
- Resource– with the same structured code the resource feels at home in. The learning curve becomes low and the productivity goes higher. On the other hand, if any team needs separate, extra, replacement of team members, they can be pulled very easily into the POC activities without much effort. This way we can minimize the risk of the sudden resource need into the POC.
- Core Framework Building Team– surprised? Yes even if this is a POC building activity, I always prefer to bring Framework building team into POC development. It is always better to segregate the framework building team from functional and Automation testers. The Objective is very simple, being framework-building team members they can go little extra mile to find out the shortfalls of a tool. Moreover being a separate team they can concentrate on wrapper building whereas the automation team can look after the POC delivery.
Other Advantages of POC
- A lot of automation code can be obtained before even starting actual automation. Is that not cool?
- The wrapper functions are available quickly to start the test script development. Being tested over and over, they become hugely reliable.
- A framework/guideline or a structure will lead to creating a solid foundation for further framework development which will lead to better automation.
Potential benefits of using tools include:
- Repetitive work is reduced (e.g. running regression tests, re-entering the same test data, and checking against coding standards).
- Greater consistency and repeatability (e.g. tests executed by a tool, and tests derived from requirements).
- Objective assessment (e.g. static measures, coverage).
- Ease of access to information about tests or testing (e.g. statistics and graphs about test progress, incident rates, and performance). Risks of using tools include:
- Unrealistic expectations for the tool (including functionality and ease of use).
- Underestimating the time, cost, and effort for the initial introduction of a tool (including training and external expertise).
- And underestimating the time and effort needed to achieve significant and continuing benefits from the tool (including the need for changes in the testing process and continuous improvement of the way the tool is used).
- Underestimating the effort required to maintain the test assets generated by the tool.
- Over-reliance on the tool (replacement for test design or where manual testing would be better).
A study report of US NIST says –
This shows in 2004 the automation coverage was 5% and in 2006 it was 20% but today it is almost 50%
Software product-based companies lose $21.2 billion /year due to insufficient testing.
$931 million was invested during 1999 and in 2004 it went up to $2.6 billion.
The solution may be…
1.The scope and need for testing. They must not go ahead and do a testing activity for the buzzword testing–QTP etc. We need to think about what will be the scope of testing. Will it be Product Oriented? Will it be Company Oriented? or Project Oriented?
The second scoping should be what kind of testing we are going to perform? Functional Testing or Load Testing or Web Service Testing or API Testing?
2. The requirement gathering and identification of proper automation tools are one of the basic criteria before going to testing viz automation testing.
We need to understand the nature of the requirement, the priority of such requirements and priority of them There are several cases where requirement gets changed in every alternate day(Agile Testing).
Now the second step of this section is to evaluate the testing tool. The Major search about the testing tool in a search engine as follows:
for tool selection there are several charts are available..
Over 300 tools are readily available in the market.
Java test tool-48
other Web Testing-76
So it would be a very tough choice of tools. We need to prepare a checklist for the evaluation of such a tool. Identify the required resources in the company. Now do a prototype for a few sample flows. Check for different actions, Validation, and reporting features.
Tool Evaluation Criteria
3. Again if it passes the above stages then business people and technical persons are required to sit together to identify the scenarios to automate and most critical prior to automation testing.100% requirements cannot be covered and are not required for any automation.
Some basic Tool evaluation criteria are:
- Easy coding and development scripts
- And easy maintenance
- The easy and huge support base
- Less cost
- Available training doc or training materials
- Technologies support
- Execution in distributed mode.
Classic Way of ROI calculation:
More About Automation Framework
4. Then comes the framework. So it is based on the application and approach.
To my viewpoint application comes first then the approach.
5. Application map support- A screenshot or handwritten map of the application is also helpful to understand the flows, we are covering. Mark the covered area with a green pen and omitted area with a red pen.
Omitted areas should be covered as fast as possible. If you make things visible at a glance (using color codes), it is going to benefit the team as well as the POC.
The outcome of the POC for a tool
Below is the outcome for a POC for a tool.
- Knowledge sharing documents for the tool undergoing POC.
- Documents of all kinds of best practices for standard and advanced things.
- A general strategy document and a methodology document so that we can have a uniform solution.
- A better application knowledge document against which the tools are getting evaluated.
- Management support documents for each tool we evaluate.
Communication in terms of finding general components and building new components is important. Otherwise, lots of rework would happen as a result we will get multiple copies of the same code. The benefits of common components got lost.
Automation is often seen as an extra initiative by a test management team of an organization. Management needs to support this activity seriously and they must showcase automation to the other groups.
Most of the automation projects fail as no one knows the automation team. As a result intersection of the teams never happens or grows up.
So starting automation as a bottom-up approach is difficult. Senior management support is necessary for long-term success.
Why automation POC Fails?
The main reason behind POC failure is that the test engineers do not know the functional details to be tested.apart from this, mostly the functional experts take part in the POC. They tend to lack tool knowledge and framework development.
Let me know your process of POC by providing a comment below. If that is good, I would certainly add them into the post.
(Taken from ISTQB syllabus)
Image Credit hrexaminer.com