Programmatically export Selenium IDE Test Suite to C #?

I know that you can easily do this with the Selenium IDE.

enter image description here

But I would like to be able to export the test script programmatically. That is, to convert this

enter image description here

to that

enter image description here

by doing something like:

seleniumIDE_API.export(htmlFilePath, outputPath, OutputTypes.CSHARP_NUNIT_WEBDRIVER); 

The reason I want to is to reduce the number of steps that need to be taken when creating tests. So, all you have to do is create a test and take out the html file in some directory.

+8
selenium selenium-ide
source share
1 answer

I do not think it is recommended to spend. Starting with Firefox 55, the Selenium IDE will no longer work .

Try using different recording devices for this purpose. The Cognizant QA solution The Cognizant Intelligent Test Scripter does the same. He records and repeats the action. I do not think that export will be possible, but, of course, you can customize the code.

0
source share

All Articles