How to export Selenium Test Suite/Case as C#

2020-07-10 03:33发布

问题:

In the older version of the Selenium IDE you used to be able to export a test case as different languages, however, I am not seeing that option on the newer IDE...

Is it possible to export the test suite/case as C# in the newer IDE?

回答1:

The closest I have found is the option to export to Java. https://www.seleniumhq.org/selenium-ide/docs/en/introduction/code-export/

The important bits require minimal changes to use in a C# project.



回答2:

npm i @seleniumhq/code-export-csharp-commons