Revision: 2400
Author: pekka.klarck
Date: Thu Nov 26 23:48:29 2009
Log: updated to match the latest UsingC version
http://code.google.com/p/robotframework/source/detail?r=2400
Modified:
/wiki/HowToUseC.wiki
=======================================
--- /wiki/HowToUseC.wiki Thu Nov 26 23:37:09 2009
+++ /wiki/HowToUseC.wiki Thu Nov 26 23:48:29 2009
@@ -75,27 +75,27 @@
== Test cases ==
-|| *** Settings *** || || || ||
-|| Library || LoginLibrary.py || || ||
+|| `*** Settings ***` || || || ||
+|| `Library` || `LoginLibrary.py` || || ||
|| || || || ||
-|| *** Test Case *** || || || ||
-|| Validate Users || || || ||
-|| || Check Valid User || john || long ||
-|| || Check Valid User || demo || mode ||
+|| `*** Test Case ***` || || || ||
+|| `Validate Users` || || || ||
+|| || `Check Valid User` || `john` || `long` ||
+|| || `Check Valid User` || `demo` || `mode` ||
|| || || || ||
-|| Login With Invalid User Should Fail || || || ||
-|| || Check Invalid User || de || mo ||
-|| || Check Invalid User || invalid || invalid ||
-|| || Check Invalid User || long || invalid ||
-|| || Check Invalid User || ${EMPTY} || ${EMPTY} ||
+|| `Login With Invalid User Should Fail` || || || ||
+|| || `Check Invalid User` || `de` || `mo` ||
+|| || `Check Invalid User` || `invalid` || `invalid` ||
+|| || `Check Invalid User` || `long` || `invalid` ||
+|| || `Check Invalid User` || `${EMPTY}` || `${EMPTY}` ||
|| || || || ||
-|| *** Keyword *** || || || ||
-|| Check Valid User || [arguments] || ${username} || ${password} ||
-|| || Check User || ${username} || ${password} ||
+|| `*** Keyword ***` || || || ||
+|| `Check Valid User` || `[Arguments]` || `${username}` || `${password}` ||
+|| || `Check User` || `${username}` || `${password}` ||
|| || || || ||
-|| Check Invalid User || [!Arguments] || ${username} || ${password} ||
-|| || Run Keyword And Expect Error || Wrong username/password combination
|| Check User ||
-|| || ... || ${username} || ${password} ||
+|| `Check Invalid User` || `[Arguments]` || `${username}` || `${password}`
||
+|| || `Run Keyword And Expect Error` || `Wrong username/password
combination` || `Check User` ||
+|| || `...` || `${username}` || `${password}` ||
= Building and running the example =
@@ -104,8 +104,8 @@
`liblogin.so`, a shared library that is needed to use ctypes
module. Run test by typing:
- pybot LoginTests.tsv
+ `pybot LoginTests.tsv`
You can also run the application as standalone using command:
- python LoginLibrary.py demo mode
+ `python LoginLibrary.py demo mode`