Robot Framework下DataBaseLibrary的使用(2)
Test Case Action Arguments ConnectTest Connect To Database Using Custom Params cx_Oracle username,password,your TNS Name @{rs} query select * from table1 Log many @{rs} Disconnect from Database
Test Case |
Action |
Arguments |
ConnectTest |
Connect To Database Using Custom Params |
cx_Oracle |
'username','password','your TNS Name' |
|
|
@{rs} |
query |
select * from table1 |
|
|
Log many |
@{rs} |
|
|
|
Disconnect from Database |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
原文转自:http://www.ltesting.net