- 17 July 2010
- ASP.NET, Selenium
- 8 Comments
-
Tags: .NET, selenium, Selenium IDE
Solution for Selenium IDE Export to C# problem
17 July 2010 Posted By Tibor Dudjik
[ad#WeDoQa blog TOP]
When using the Selenium IDE to generate C# tests users get the following error “Suite export not implemented for the cs-rc formatter”:
This happens because there is an error in the code that can’t convert from the default HTML Format to C#. The workaround is to go to Options -> Format and then select C# – Selenium RC. Once converted you don’t need to export anything you can just save it or copy paste it to your C# test.
With this workaround you can also export existing saved selenium test cases from HTML or any of the others to C#. Just open up the saved test case and then switch to C# in Options -> Format
[ad#WeDoQA Bottom]


8 Responses to “Solution for Selenium IDE Export to C# problem”
Actually, it isn’t a bug but means exactly what the message says — that exporting a suite is not implemented for C#. As of right now, only the Java formatters will export a suite.
Exporting a single test case continues to work however.
-adam
Se-IDE Maintainer
Hi Adam
Thanks for pointing that out. I just wanted to post a workaround to this and to explain how its possible to make the convert if you did not choose the right format from the start and are trying to end up with a C# code.
Doesn’t work for me. My menu option under format is slightly different: “C# (Remote Control)”. Installed Selenium a few days ago.
In the newer versions just select C#(remote control)
The “Option > Format” is complete greyed out?
Any ideas?
Milo, you need to enable experimental features in the options.
Selecting Opions->format->PHP-Selenium-Rc works for me which gives php code and we can copy the code to the location where it access with phpunit
I want create a code in c# without remote server using selenium classes is it possible?