Frequently Asked Question
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
Hello and welcome to the first of several lessons on the TyphoonTest Tool: an easy-to-use test
automation environment that comes with the Typhoon HIL Control Center installation. In this lesson we
will show the key differences between TyphoonTest and Script Editor, where to find Typhoon HIL
s API documentation, quickly overview the TyphoonTest IDE, and look at an example report.
Before we start with TyphoonTest, let s first look at what we can do with the Script Editor tool.
We can find it under our Additional tools.
We can use Script Editor to write Python code, run it, and get some results in the console.
In this case, we ran this script using the Python provided during Typhoon HIL Control Center
installation, but we could also run it using the system Python or a custom Python environment like
PyCharm. We will cover this in more detail in the Other functionalities lesson in this course.
We can also use the HIL API Wizard, load a compiled schematic,
and have easy access to functions and variables available in the compiled model.
While we can use Script Editor to automate a test procedure,
Typhoon also provides a proper test framework tool to do that: TyphoonTest.
Note that in order to run tests using TyphoonTest API, you need a specific toolbox which is added
to the license provided by this course. Check the license notice page at the start
of the course for more information.Let s open the IDE documentation,
where we can check all information regarding this tool. Since our API is based on Python,
our test tool is based on the popular Python test framework, Pytest. You can check the
Pytest documentation for more information and also check our lessons on Pytest Basics.
TyphoonTest also provides a wide range of functions which can improve your
user experience while using HIL devices, extract information from a time series,
assert conditions for test cases, and much more. You can check all the functions under
our Documentation Hub or in the TyphoonTest API documentation link in the Materials Tab.
We also provide integration with Allure reports, automatically adding important information to
an interactive report. We will take a look at an example report at the end of this lesson, and ways
you can further customize these reports in the Report enhancement and customization lesson.
Here, we have a list of links that show in detail every aspect of the tool. You can take a quick
look at them by following the TyphoonTest IDE documentation link in the Materials tab.
Let s take a look at a few of these features in the IDE.
You can select the Python Environment;Control the simulation;
Select the working directory;
Change report and test options;
Follow the test execution in real time;Add additional windows and rearrange them;
Use the API Wizard to write your test code, and more.
We will be taking a better look at each one of these functionalities during the next lessons.
Before we conclude, let s take a quick peek at the report we will be building throughout the lesson.
In this lesson we briefly introduced some of the TyphoonTest tools we will
be using for automating tests, and showed how they differ from the
Script Editor tool. In the next lesson we will build a complete test from scratch,
enhance it, and generate a very informative report.