Table of Contents
Traditional Manual Testing Concept
The Necessity of Test Automation
How to use GenAI to generate automated test scripts
Summary
Translator Introduction
Home Technology peripherals AI Production AI-driven host automation testing

Production AI-driven host automation testing

Feb 26, 2024 am 11:34 AM
Generative AI Mainframe automation

Translator | Chen Jun

Reviewer | Chonglou

Code that converts traditional mainframe applications And data migration to modern technology architecture is considered a key step in the digital development of enterprises. In the pursuit of efficiency and scalability, this transition often involves migrating from traditional mainframe environments to more flexible cloud computing or on-premises solutions. Such transformations help enterprises achieve greater agility and innovation while reducing costs and improving security. This migration can also bring better resource utilization and faster market responsiveness to the enterprise. Enterprises need to plan and execute this transition carefully to ensure that the data migration and application reconstruction process goes smoothly to ensure business continuity and data security. By migrating traditional mainframe applications to modern technology architecture, enterprises can better adapt to rapidly changing market demands and achieve

Production AI-driven host automation testing

However, as time goes by, Dynamic changes in the business environment will also make the migration process more complicated. This is not only a technical redeployment of resources, but also a fundamental change, so it often requires rigorous testing to ensure the equivalence of various functions, thereby maintaining the operational integrity and performance of the application. standardization.

Also, after migration, applications are often forced to undergo extensive modifications driven by new requirements, evolving business strategies, and changes in regulatory standards. And every modification, whether it is a minor adjustment or a major "renovation", must undergo rigorous testing. The most critical challenge is ensuring that new changes integrate harmoniously with existing functionality without causing unintended consequences or disruptions. It can be seen that the dual requirements of verifying new functions and retaining existing functions highlight the importance of automated test suites after migration.

In recent years, the wide application of generative AI (GenAI) has radiated to various fields. If it is introduced into the modernization process of mainframes, it is not only expected that enterprises will achieve significant improvements in software quality, operational efficiency, etc., but it will also bring about fundamental changes in software development and quality assurance concepts, allowing enterprises to ultimately obtain considerable returns on investment. .

I will discuss with you how to leverage appropriate automated testing methodologies, tools, and best practices to ensure that the inherent quality and performance of modern mainframe applications is maintained during a smooth technology transition.

Traditional Manual Testing Concept

For a long time, large mainframe environments have been unwilling to accept automated testing methods. The 2019 Global Survey conducted jointly by Compuware and Vanson Bourne shows that only #7% of respondents have adopted Automated test cases are enough to illustrate the industry's attitude towards this.

The Dilemma of Manual Testing

In contrast, manual testing is a traditional method commonly used by many companies. However, in the complex process of mainframe modernization, this approach is becoming increasingly inadequate and error-prone. After all, test engineers need to manually verify every scenario and business rule. This process is fraught with the possibility of human error. Moreover, given the high-risk and mission-critical nature of many mainframe applications, once we overlook a subtle error during the testing process, it may lead to serious production problems, substantial downtime, and even financial losses. Therefore, this shortcoming becomes particularly prominent. In addition, manual testing also has the following defects:

1. Omissions and inaccuracies: Manually processing a large number of test cases will increase the risk of missing key scenarios and inaccurate data verification.

2. Time-consuming: Manual methods require a lot of time to thoroughly test every aspect, so they are not efficient in fast-paced development environments.

3. Scalability problem: As the application expands and evolves, the workload required for manual testing will increase exponentially, making it even more difficult to effectively identify errors.

Some companies may intuitively think of expanding their manual testing team. However, this is not a feasible solution. This move creates cost inefficiencies and fails to address the inherent limitations of manual testing processes. Enterprises need to integrate automated testing processes through modern methods such as DevOps to improve efficiency and reduce errors.

The Necessity of Test Automation

Overall, by integrating automated testing processes into modern mainframe applications, enterprises can greatly improve the efficiency and accuracy of migrations sex. Of course, the adoption rate of automated testing in mainframe environments is not high. Some companies see this as a challenge, while others see it as a huge transformation opportunity. After all, adopting automation in testing is not just a technology upgrade, but a strategic move to reduce risk, save time, and optimize resource utilization.

This shift is critical for businesses hoping to remain competitive and efficient in a rapidly evolving technological environment. According to the "DevOps Status Report", automated testing can play a huge role in optimizing operational workflow and ensuring application reliability.

What is automated testing?

According to Atlassian’s definition, automated testing is to automatically complete those manually driven tasks through the use of software tools Review and validation process for software products. Its speed, efficiency and accuracy surpass the limitations of traditional manual testing methods. That is, automated testing helps accelerate application changes while ensuring that its quality and reliability are not compromised. Automated testing not only simplifies the verification process of new changes, but also monitors the integrity of existing functionality, thereby playing a key role in the seamless transition and continuous maintenance of modern applications.

In the process of optimizing the software testing process, the use of automated testing often requires initial manual investment, which involves test engineers' understanding of the intricate business logic underlying the application. This understanding is crucial to effectively generate automated test cases using frameworks such as Selenium. Although this stage consumes a lot of manpower, it is a basic work. After all, subsequent automated testing will significantly reduce the reliance on manual testing, especially in repetitive and extensive testing scenarios. Furthermore, once an automation framework is established, it becomes a powerful mechanism for continuous evaluation of applications. Its advantage is that it is good at identifying errors or bugs that may arise due to application changes.

Automated testing methods during mainframe modernization

In the field of software engineering, for large-scale migration or modernization of mainframe applications Automated testing often requires a comprehensive understanding of all business rules in an application in order to generate automated test cases for a huge code base that often consists of millions of lines of code. This is a complex and quite difficult task. Given that it is difficult to achieve 100% code coverage, we need to achieve a balance between test coverage depth and practical feasibility to ensure that critical business logic can receive sufficient test coverage.

In this case, emerging technologies such as GenAI provide a possibility. It can automatically generate automated test scripts to simplify the testing process of mainframe modernization projects and provide a more efficient, accurate, and scalable method for quality assurance in software development.

Wide Utilization of GenAI

Before we delve into how GenAI enables automated testing in mainframe modernization, let’s take a brief look at GenAI. Fundamentally, GenAI represents an aspect of artificial intelligence. It uses generative models to generate various texts, images or other media. These generative AI models are good at learning the patterns and structural elements of the input training data and then generating new data that reflects those characteristics. Obviously, such systems mainly rely on machine learning models, especially those in the field of deep learning.

Natural Language Generation (NLG) is a form of GenAI that is strongly relevant to the modernization of mainframes. It can produce human-like text with the support of large language models (LLM). Typically, LLMs are trained on large corpora of text data, enabling them to discern and reproduce the nuances and structure of language. This training therefore enables them to perform a variety of natural language processing tasks, including text generation, translation summarization, and sentiment analysis. Notably, LLM is also proficient in generating accurate computer program code.

Currently, well-known use cases of large language models include: GPT-3 (Generative Pre-trained Transformer 3), BERT (Bidirectional Encoder Representations from Transformers) and T5 (Text-to-Text Transfer Transformer). These models are usually built on deep neural networks, especially those using the Transformer architecture. Therefore, they show excellent efficacy in processing sequential data such as text. Large amounts of training data, including millions or even billions of words or documents, allow these models to master a wide range of programming languages. Not only do they excel at generating coherent and contextual text, but they also excel at predicting language patterns such as completing sentences or answering queries.

Currently, some large language models can also understand and generate text in multiple languages, increasing their usefulness globally, from powering chatbots and virtual assistants. Intelligence", to supporting application fields such as content generation, language translation and summarization, LLM's versatility can bring outstanding performance.

How to use GenAI to generate automated test scripts

In the field of software testing, LLM can help us extract business logic from the code of the application, And convert these rules into human-readable format, and then generate corresponding automated test scripts. At the same time, it can also help us select the necessary number of test cases to meet various potential coverage requirements of the code fragments.

Usually, using GenAI to generate automated test scripts for application code requires the following structured three-step process:

1. Use GenAI Extract business rules: As an initial stage, we need to use GenAI to extract business rules from the application. This process will judge the extracted rules according to the level of detail and interpret them in a human-readable format. In addition, GenAI also helps to gain a complete understanding of all potential outcomes of a given piece of code. This knowledge is critical to ensuring that accurate, relevant test scripts are created.

2. Use GenAI to generate automated test scripts at the functional level: Based on the extracted business logic, test engineers can have a comprehensive understanding of the application's functions so that they can be exploited at the functional level. GenAI to develop test scripts. This step involves determining the number of test scripts required and identifying scenarios that may be excluded. Of course, the code coverage of such automated test scripts is often decided collectively by the team.

3. Verification and reasoning added by Subject Matter Experts (SME): In the final stage, once the business logic has been extracted and the corresponding automated test scripts have been generated, the test Experts will verify these scripts and have the authority to add, modify or delete them. Such interventions address potential probabilistic errors that may arise from GenAI output and increase the quality certainty of automated test scripts.

The above process may seem complicated, but it can actually make full use of GenAI's capabilities to simplify the test script generation process and ensure the perfect combination of automation efficiency and human expertise. Among them, the participation of testers in the verification phase is particularly important. This will allow the output results generated by artificial intelligence to be based on actual, real-life application knowledge, thereby significantly improving the reliability and applicability of test scripts.

Summary

In summary, as a tool to improve efficiency, GenAI can generate automated test scripts through its NLG capabilities, and then Improve the accuracy and reliability of software testing processes for mainframe modernization. At the same time, GenAI needs to improve the output results generated by AI through a structured three-step process and ensure that the automated scripts are not only technically reasonable but also applicable in practice, thus reflecting the harmony and unity of AI capabilities and human expertise. This integration is clearly critical to address the complexity and dynamic requirements of modern mainframe applications.

Translator Introduction

Julian Chen, 51CTO community editor, has more than ten years of experience in IT project implementation and is good at Implement management and control of internal and external resources and risks, and focus on disseminating network and information security knowledge and experience.

Original title: GenAI-Driven Automation Testing in Mainframe Modernization , Author: sampath amatam)


The above is the detailed content of Production AI-driven host automation testing. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Will R.E.P.O. Have Crossplay?
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Chinese mathematician Terence Tao leads the White House Generative AI Working Group, and Li Feifei will speak at the group Chinese mathematician Terence Tao leads the White House Generative AI Working Group, and Li Feifei will speak at the group May 25, 2023 am 10:36 AM

The Generative AI Working Group established by the President's Council of Advisors on Science and Technology is designed to help assess key opportunities and risks in the field of artificial intelligence and provide advice to the President on ensuring that these technologies are developed and deployed as fairly, safely, and responsibly as possible. AMD CEO Lisa Su and Google Cloud Chief Information Security Officer Phil Venables are also members of the working group. Chinese-American mathematician and Fields Medal winner Terence Tao. On May 13, local time, Chinese-American mathematician and Fields Medal winner Terence Tao announced that he and physicist Laura Greene will co-lead the Generative Artificial Intelligence Working Group of the U.S. Presidential Council of Advisors on Science and Technology (PCAST) .

From 'human + RPA' to 'human + generative AI + RPA', how does LLM affect RPA human-computer interaction? From 'human + RPA' to 'human + generative AI + RPA', how does LLM affect RPA human-computer interaction? Jun 05, 2023 pm 12:30 PM

Image source@visualchinesewen|Wang Jiwei From "human + RPA" to "human + generative AI + RPA", how does LLM affect RPA human-computer interaction? From another perspective, how does LLM affect RPA from the perspective of human-computer interaction? RPA, which affects human-computer interaction in program development and process automation, will now also be changed by LLM? How does LLM affect human-computer interaction? How does generative AI change RPA human-computer interaction? Learn more about it in one article: The era of large models is coming, and generative AI based on LLM is rapidly transforming RPA human-computer interaction; generative AI redefines human-computer interaction, and LLM is affecting the changes in RPA software architecture. If you ask what contribution RPA has to program development and automation, one of the answers is that it has changed human-computer interaction (HCI, h

Why is generative AI sought after by various industries? Why is generative AI sought after by various industries? Mar 30, 2024 pm 07:36 PM

Generative AI is a type of human artificial intelligence technology that can generate various types of content, including text, images, audio and synthetic data. So what is artificial intelligence? What is the difference between artificial intelligence and machine learning? Artificial intelligence is the discipline, a branch of computer science, that studies the creation of intelligent agents, which are systems that can reason, learn, and perform actions autonomously. At its core, artificial intelligence is concerned with the theories and methods of building machines that think and act like humans. Within this discipline, machine learning ML is a field of artificial intelligence. It is a program or system that trains a model based on input data. The trained model can make useful predictions from new or unseen data derived from the unified data on which the model was trained.

Say goodbye to design software to generate renderings in one sentence, generative AI subverts the field of decoration and decoration, with 28 popular tools Say goodbye to design software to generate renderings in one sentence, generative AI subverts the field of decoration and decoration, with 28 popular tools Jun 10, 2023 pm 03:33 PM

▲This picture was generated by AI. Kujiale, Sanweijia, Dongyi Risheng, etc. have already taken action. The decoration and decoration industry chain has introduced AIGC on a large scale. What are the applications of generative AI in the field of decoration and decoration? What impact does it have on designers? One article to understand and say goodbye to various design software to generate renderings in one sentence. Generative AI is subverting the field of decoration and decoration. Using artificial intelligence to enhance capabilities improves design efficiency. Generative AI is revolutionizing the decoration and decoration industry. What impact does generative AI have on the decoration and decoration industry? What are the future development trends? One article to understand how LLM is revolutionizing decoration and decoration. These 28 popular generative AI decoration design tools are worth trying. Article/Wang Jiwei In the field of decoration and decoration, there has been a lot of news related to AIGC recently. Collov launches generative AI-powered design tool Col

Watch: What is the potential of applying generative AI to network automation? Watch: What is the potential of applying generative AI to network automation? Aug 17, 2023 pm 07:57 PM

Generative artificial intelligence (GenAI) is expected to become a compelling technology trend by 2023, bringing important applications to businesses and individuals, including education, according to a new report from market research firm Omdia. In the telecom space, use cases for GenAI are mainly focused on delivering personalized marketing content or supporting more sophisticated virtual assistants to enhance customer experience. Although the application of generative AI in network operations is not obvious, EnterpriseWeb has developed an interesting concept. Validation, demonstrating the potential of generative AI in the field, the capabilities and limitations of generative AI in network automation One of the early applications of generative AI in network operations was the use of interactive guidance to replace engineering manuals to help install network elements, from

Which technology giant is behind Haier and Siemens' generative AI innovation? Which technology giant is behind Haier and Siemens' generative AI innovation? Nov 21, 2023 am 09:02 AM

Gu Fan, General Manager of the Strategic Business Development Department of Amazon Cloud Technology Greater China In 2023, large language models and generative AI will "surge" in the global market, not only triggering "an overwhelming" follow-up in the AI ​​and cloud computing industry, but also vigorously Attract manufacturing giants to join the industry. Haier Innovation Design Center created the country's first AIGC industrial design solution, which significantly shortened the design cycle and reduced conceptual design costs. It not only accelerated the overall conceptual design by 83%, but also increased the integrated rendering efficiency by about 90%, effectively solving Problems include high labor costs and low concept output and approval efficiency in the design stage. Siemens China's intelligent knowledge base and intelligent conversational robot "Xiaoyu" based on its own model has natural language processing, knowledge base retrieval, and big language training through data

Tencent Hunyuan upgrades model matrix, launching 256k long text model on the cloud​ Tencent Hunyuan upgrades model matrix, launching 256k long text model on the cloud​ Jun 01, 2024 pm 01:46 PM

The implementation of large models is accelerating, and "industrial practicality" has become a development consensus. On May 17, 2024, the Tencent Cloud Generative AI Industry Application Summit was held in Beijing, announcing a series of progress in large model development and application products. Tencent's Hunyuan large model capabilities continue to upgrade. Multiple versions of models hunyuan-pro, hunyuan-standard, and hunyuan-lite are open to the public through Tencent Cloud to meet the model needs of enterprise customers and developers in different scenarios, and to implement the most cost-effective model solutions. . Tencent Cloud releases three major tools: knowledge engine for large models, image creation engine, and video creation engine, creating a native tool chain for the era of large models, simplifying data access, model fine-tuning, and application development processes through PaaS services to help enterprises

Transformative Trend: Generative Artificial Intelligence and Its Impact on Software Development Transformative Trend: Generative Artificial Intelligence and Its Impact on Software Development Feb 26, 2024 pm 10:28 PM

The rise of artificial intelligence is driving the rapid development of software development. This powerful technology has the potential to revolutionize the way we build software, with far-reaching impacts on every aspect of design, development, testing and deployment. For companies trying to enter the field of dynamic software development, the emergence of generative artificial intelligence technology provides them with unprecedented development opportunities. By incorporating this cutting-edge technology into their development processes, companies can significantly increase production efficiency, shorten product time to market, and launch high-quality software products that stand out in the fiercely competitive digital market. According to a McKinsey report, it is predicted that the generative artificial intelligence market size is expected to reach US$4.4 trillion by 2031. This forecast not only reflects a trend, but also shows the technology and business landscape.

See all articles