US-20260127097-A1 - AUTOMATED TEST AND TEST CASE DESCRIPTION GENERATION FOR END-TO-END PROCESSES
Abstract
One or more first actions and one or more first checks performed during testing of first functionality of a first version of a first software application are detected. Next, the one or more first actions and one or more first checks are translated into a first set of source code. Then, a first script is generated with the first set of source code. Next, testing is performed of the first functionality of a second version of the first software application by executing the first script. Then, usage of the second version of the first software application on a first cloud platform is enabled in response to completing the testing of the first functionality of the second version of the first software application.
Inventors
- Sebastian MIETKE
Assignees
- SAP SE
Dates
- Publication Date
- 20260507
- Application Date
- 20241104
Claims (20)
- 1 . A system comprising: at least one processor; and at least one memory storing instructions that, when executed by the at least one processor, cause operations comprising: detecting one or more first actions and one or more first checks performed via a first computing device, wherein the one or more first actions and one or more first checks are performed during testing of first functionality of a first version of a first software application; translating the one or more first actions and one or more first checks into a first set of source code; generating a first script with the first set of source code; performing testing of the first functionality of a second version of the first software application by executing the first script; and enabling usage of the second version of the first software application on a first cloud platform in response to completing the testing of the first functionality of the second version of the first software application.
- 2 . The system of claim 1 , wherein the operations further comprise generating one or more human readable documents illustrating how to test the first functionality of the first version and the second version of the first software application.
- 3 . The system of claim 1 , wherein the operations further comprise: detecting one or more second actions and one or more second checks performed via the first computing device, wherein the one or more second actions and one or more second checks occur during testing of second functionality of the first version of the first software application; translating the one or more second actions and one or more second checks into a second set of source code; generating a second script with the second set of source code; and performing testing of the second functionality of the second version of the first software application by executing the second script.
- 4 . The system of claim 1 , wherein the first software application executes on a first cloud platform.
- 5 . The system of claim 1 , wherein the one or more first actions comprise navigation from a first page to a second page, and wherein the one or more first checks comprise checking that the navigation occurs from the first page to the second page.
- 6 . The system of claim 1 , wherein the operations further comprise detecting one or more elements marked as check relevant.
- 7 . The system of claim 6 , wherein the operations further comprise: deriving one or more check conditions for the one or more elements marked as check relevant; translating the one or more check conditions into one or more technical source code fragments; and including the one or more technical source code fragments in the first script.
- 8 . The system of claim 1 , wherein the first software application is a database application.
- 9 . The system of claim 1 , wherein the first software application is an enterprise resource planning (ERP) application.
- 10 . The system of claim 1 , wherein enabling usage of the second version of the first software application allows one or more users to execute the second version of the first software application.
- 11 . A computer-implemented method comprising: detecting one or more first actions and one or more first checks performed via a first computing device, wherein the one or more first actions and one or more first checks are performed during testing of first functionality of a first version of a first software application; translating the one or more first actions and one or more first checks into a first set of source code; generating a first script with the first set of source code; performing testing of the first functionality of a second version of the first software application by executing the first script; and enabling usage of the second version of the first software application on a first cloud platform in response to completing the testing of the first functionality of the second version of the first software application.
- 12 . The computer-implemented method of claim 11 , further comprising generating one or more human readable documents illustrating how to test the first functionality of the first version and the second version of the first software application.
- 13 . The computer-implemented method of claim 11 , further comprising: detecting one or more second actions and one or more second checks performed via the first computing device, wherein the one or more second actions and one or more second checks occur during testing of second functionality of the first version of the first software application; translating the one or more second actions and one or more second checks into a second set of source code; generating a second script with the second set of source code; and performing testing of the second functionality of the second version of the first software application by executing the second script.
- 14 . The computer-implemented method of claim 11 , wherein the first software application executes on a first cloud platform.
- 15 . The computer-implemented method of claim 11 , wherein the one or more first actions comprise navigation from a first page to a second page, and wherein the one or more first checks comprise checking that the navigation occurs from the first page to the second page.
- 16 . The computer-implemented method of claim 11 , further comprising detecting one or more elements marked as check relevant.
- 17 . The computer-implemented method of claim 16 , further comprising: deriving one or more check conditions for the one or more elements marked as check relevant; translating the one or more check conditions into one or more technical source code fragments; and including the one or more technical source code fragments in the first script.
- 18 . The computer-implemented method of claim 11 , wherein the first software application is a database application.
- 19 . The computer-implemented method of claim 11 , wherein the first software application is an enterprise resource planning (ERP) application.
- 20 . A non-transitory computer readable storage medium storing instructions, which when executed by at least one data processor, result in operations comprising: detecting one or more first actions and one or more first checks performed via a first computing device, wherein the one or more first actions and one or more first checks are performed during testing of first functionality of a first version of a first software application; translating the one or more first actions and one or more first checks into a first set of source code; generating a first script with the first set of source code; performing testing of the first functionality of a second version of the first software application by executing the first script; and enabling usage of the second version of the first software application on a first cloud platform in response to completing the testing of the first functionality of the second version of the first software application.
Description
TECHNICAL FIELD The present disclosure generally relates to generating manual test case descriptions and automated tests for end-to-end processes. BACKGROUND An application can be hosted by a cloud platform such that the application can be remotely accessible to multiple tenants, for example, over the Internet. For example, the application can be available as a cloud-based service including, for example, a software as a service (SaaS) and/or the like. Many organizations rely on such cloud-based enterprise software applications including, for example, enterprise resource planning (ERP) software, customer relationship management (CRM) software, and/or the like. These enterprise software applications may provide a variety of functionalities including, for example, invoicing, procurement, payroll, time and attendance management, recruiting and onboarding, learning and development, performance and compensation, workforce planning, and/or the like. Testing the functionality of various software applications may require significant effort on the part of developers and testers. Accordingly, improved methods and mechanisms for testing the functionality of software applications are desired. SUMMARY In some implementations, one or more first actions and one or more first checks performed during testing of first functionality of a first version of a first software application are detected. Next, the one or more first actions and one or more first checks are translated into a first set of source code. Then, a first script is generated with the first set of source code. Next, testing is performed of the first functionality of a second version of the first software application by executing the first script. Then, usage of the second version of the first software application on a first cloud platform is enabled in response to completing the testing of the first functionality of the second version of the first software application. Non-transitory computer program products (i.e., physically embodied computer program products) are also described that store instructions, which when executed by one or more data processors of one or more computing systems, causes at least one data processor to perform operations herein. Similarly, computer systems are also described that may include one or more data processors and memory coupled to the one or more data processors. The memory may temporarily or permanently store instructions that cause at least one processor to perform one or more of the operations described herein. In addition, methods can be implemented by one or more data processors either within a single computing system or distributed among two or more computing systems. Such computing systems can be connected and can exchange data and/or commands or other instructions or the like via one or more connections, including a connection over a network (e.g., the Internet, a wireless wide area network, a local area network, a wide area network, a wired network, or the like), via a direct connection between one or more of the multiple computing systems, etc. The details of one or more variations of the subject matter described herein are set forth in the accompanying drawings and the description below. Other features and advantages of the subject matter described herein will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated in and constitute a part of this specification, show certain aspects of the subject matter disclosed herein and, together with the description, help explain some of the principles associated with the disclosed implementations. In the drawings, FIG. 1 illustrates a logical diagram of an example of a system, in accordance with some example implementations of the current subject matter; FIG. 2 illustrates a logical block diagram of a computing system, in accordance with some example implementations of the current subject matter; FIG. 3 illustrates a block diagram of test generation and automated test execution functionality, in accordance with some example implementations of the current subject matter; FIG. 4 illustrates example of tables with check information collected by a check condition generation component, in accordance with some example implementations of the current subject matter; FIG. 5 illustrates an example of pseudocode generated by a check condition translation component, in accordance with some example implementations of the current subject matter; FIG. 6 illustrates examples of a technical source code snippet and corresponding human readable text, in accordance with some example implementations of the current subject matter; FIG. 7 illustrates an example of a table with a list of steps and checks to be performed during the execution of an end-to-end test, in accordance with some example implementations of the current subject matter; FIG. 8 illustrates a process for automatic test generation, in acco