Revision: 2365
Author: KariHusa
Date: Fri Oct 23 03:14:37 2009
Log: Edited wiki page through web user interface.
http://code.google.com/p/robotframework/source/detail?r=2365

Modified:
 /wiki/UsingC.wiki

=======================================
--- /wiki/UsingC.wiki   Fri Oct 23 02:24:32 2009
+++ /wiki/UsingC.wiki   Fri Oct 23 03:14:37 2009
@@ -1,6 +1,8 @@
-#summary Exaplme of using C from Robot Framework test libraries.
-
-= Using C from Robot Framework test libraries =
+#summary Example of using C from Robot Framework test libraries.
+
+<wiki:toc />
+
+= Introduction =

 This simple example demonstrates how to use C language from Robot
Framework test libraries. The example uses Python's standard [http://docs.python.org/library/ctypes.html ctypes module], which requires
@@ -9,6 +11,10 @@
 systems would require only changing compilation and name of the
 produced shared library.

+= Example =
+
+Please download the example: [http://robotframework.googlecode.com/files/robotframework-c-example-20091023.zip robotframework-c-example.zip].
+
 == System under test ==

 The demo application is simple login system that validates user name
@@ -91,18 +97,9 @@
|| || Run Keyword And Expect Error || Wrong username/password combination || Check User ||
 ||  || ...  || ${username} || ${password} ||

-
-
-
-
-The example consists of four files:
-
-  * `login.c`: The demo application under test
- * `LoginLibrary.py`: Test library that interacts with the demo application
-  * `LoginTests.tsv`: Example tests
-  * `Makefile`: Used to compile the demo application
-
-To use this example run `make` in the directory where you unzipped the
+= Building and running the example =
+
+To use the example run `make` in the directory where you unzipped the
 `robotframework-c-example.zip` package. This will create library
 `liblogin.so`, a shared library that is needed to use ctypes
 module. Run test by typing:

Reply via email to