TestProject allows you to export your recorded test into Java or C# coded tests in a click of a button. That cool feature, allows you to continue working on your test in your IDE and later, to upload it back to TestProject.

How to download the code

In your project, go to the test that you want to generate the code for and click on the three-dots icon. Then, select the Generate Code option:

Select the preferred language that you want to export the test to, the browser and the package name:

How to open the Java project

Once the project has been downloaded, extract the zip file.
Open your IDE (IntelliJ, Eclipse, etc.)  -> File -> Open -> select the extracted folder of your test.

In your IDE, open the build.gradle file and update the TP_SDK variable value to the path where you stored the Java SDK on your machine (you can download it from here). Now, the project will be updated and you should be able to run your test!
To run the test, simply run the "Runner" class.

How to open the C# project

Once the project has been downloaded, extract the zip file. Double click on the .csproj file to open it in your IDE (Visual Studio, etc.). The TestProject C# SDK will be included automatically by the NuGet Package Manager.
To run your test, simply click on the run button (F5).


Still need help? Feel free to reach out to us at any time in the Chat or Forum. Or explore more in our official Documentation 😉🎓

Did this answer your question?