For those that aren’t aware, we’ve recently move our Python plugin to open source. You can find it here:
Has anyone used this? What are your thoughts on it compared to the C# SDK?
For those that aren’t aware, we’ve recently move our Python plugin to open source. You can find it here:
Has anyone used this? What are your thoughts on it compared to the C# SDK?
Hello,
i installed the Phytion plugin which comes up with a new entry in the Test Steps window.
After addding the Test Plan examples available in the Phytion section the log in editor displays:
13:26:07.404 Serializer XML Line 4: Unable to locate type ‘Python.PluginExample.ChargeStep’. Are you missing a plugin?
13:26:07.404 Serializer XML Line 14: Unable to locate type ‘Python.PluginExample.DischargeStep’. Are you missing a plugin?
13:26:07.404 Serializer XML Line 24: Unable to locate type ‘Python.PluginExample.BasicFunctionality’. Are you missing a plugin?
13:26:07.404 Serializer XML Line 33: Unable to locate type ‘Python.PluginExample.ErrorExample’. Are you missing a plugin?
13:26:07.405 Serializer XML Line 4: Unable to locate type ‘Python.PluginExample.ChargeStep’. Are you missing a plugin?
13:26:07.405 Serializer XML Line 14: Unable to locate type ‘Python.PluginExample.DischargeStep’. Are you missing a plugin?
13:26:07.405 Serializer XML Line 24: Unable to locate type ‘Python.PluginExample.BasicFunctionality’. Are you missing a plugin?
13:26:07.405 Serializer XML Line 33: Unable to locate type ‘Python.PluginExample.ErrorExample’. Are you missing a plugin?
The desciption of the Phyton plugin says: “OpenTAP Python SDK plugin. This plugin includes all tools, examples, and documentation to develop OpenTAP plugins using Python.”
So not sure what addidional plugin i need to install?
best regards
JG
The one thing this plugin does not install is Python itself as it allows you to use whatever version you prefer (including things like Anaconda). A couple things to verify:
Make sure the Python Path is set correctly in Settings > Python > Python Path
Also rather than trying to open a Test Plan, try adding one of the individual Test Steps from Python Example > Battery Test. That will give a more specific error.
I only see the subsection “Test Plans” here - nothing with Examples.
Ah, you will need to build the examples first:
Some more background on how we ended up with the Python plugin:
https://blog.opentap.io/the-python-plugin/
And straight to the vid for those impatient types! https://youtu.be/WxPn83N1HFQ