Step 26 — Run the Robot from the Kapow .NET API

This part of the guide shows how to run the robot using the Kapow .NET API. It assumes that you have the Microsoft .NET Framework SDK version 2.0 installed on your computer.[1]

Open a command prompt in the API/robosuite-dotnet-api/examples directory of your installation directory. Run the build.bat file to compile the C# source files in this directory. On successful compilation you will get a number of .exe files ready to run.

Now type:

RunRobot.exe library:/TipOfTheWeek.robot

This will run the robot and output the result to the screen.

If you look at the code in RunRobot.cs you can see how the API is used to run the robot.



[1] The Microsoft .NET Framework SDK version 2.0 can be downloaded from Microsoft’s web site.