Frequently Asked Question

Video: 6.4.1 Introduction
Last Updated 3 years ago


Press "Ctrl + F" to find the keyword of your interest.

If you wish to have a direct link access to the video timestamps, please follow these instructions.

Found this video helpful? Why not take the whole HIL Specialist course? A Certificate is waiting for you for free at HIL Academy.

Would you or your organization benefit from having these videos narrated in your native language? Contact us and let us know if you wish to contribute.

TRANSCRIPT

00:00:02

Hello and welcome to the first of several lessons on the TyphoonTest Tool: an easy-to-use test  

00:00:07

automation environment that comes with the Typhoon HIL Control Center installation. In this lesson we  

00:00:12

will show the key differences between TyphoonTest and Script Editor, where to find Typhoon HIL  

00:00:17

s API documentation, quickly overview the TyphoonTest IDE, and look at an example report. 

00:00:23

Before we start with TyphoonTest, let s first look at what we can do with the Script Editor tool.  

00:00:29

We can find it under our Additional tools. 

00:00:36

We can use Script Editor to write Python code, run it, and get some results in the console. 

00:01:11

In this case, we ran this script using the Python provided during Typhoon HIL Control Center  

00:01:16

installation, but we could also run it using the system Python or a custom Python environment like  

00:01:22

PyCharm. We will cover this in more detail in the Other functionalities lesson in this course. 

00:01:27

We can also use the HIL API Wizard, load a compiled schematic,  

00:01:32

and have easy access to functions and variables available in the compiled model. 

00:02:12

While we can use Script Editor to automate a test procedure,  

00:02:15

Typhoon also provides a proper test framework tool to do that: TyphoonTest. 

00:02:26

Note that in order to run tests using TyphoonTest API, you need a specific toolbox which is added  

00:02:31

to the license provided by this course. Check the license notice page at the start  

00:02:36

of the course for more information.Let s open the IDE documentation,  

00:02:40

where we can check all information regarding this tool. Since our API is based on Python,  

00:02:46

our test tool is based on the popular Python test framework, Pytest. You can check the  

00:02:51

Pytest documentation for more information and also check our lessons on Pytest Basics. 

00:02:58

TyphoonTest also provides a wide range of functions which can improve your  

00:03:02

user experience while using HIL devices, extract information from a time series,  

00:03:07

assert conditions for test cases, and much more. You can check all the functions under  

00:03:12

our Documentation Hub or in the TyphoonTest API documentation link in the Materials Tab. 

00:03:23

We also provide integration with Allure reports, automatically adding important information to  

00:03:29

an interactive report. We will take a look at an example report at the end of this lesson, and ways  

00:03:34

you can further customize these reports in the Report enhancement and customization lesson. 

00:03:40

Here, we have a list of links that show in detail every aspect of the tool. You can take a quick  

00:03:45

look at them by following the TyphoonTest IDE documentation link in the Materials tab. 

00:03:51

Let s take a look at a few of these features in the IDE. 

00:03:54

You can select the Python Environment;Control the simulation; 

00:04:05

Select the working directory; 

00:04:13

Change report and test options; 

00:04:21

Follow the test execution in real time;Add additional windows and rearrange them; 

00:05:08

Use the API Wizard to write your test code, and more. 

00:05:46

We will be taking a better look at each one of these functionalities during the next lessons.  

00:05:51

Before we conclude, let s take a quick peek at the report we will be building throughout the lesson. 

00:06:23

In this lesson we briefly introduced some of the TyphoonTest tools we will  

00:06:26

be using for automating tests, and showed how they differ from the  

00:06:29

Script Editor tool. In the next lesson we will build a complete test from scratch,  

00:06:34

enhance it, and generate a very informative report.

Please Wait!

Please wait... it will take a second!