forked from brain-tec/odoo-robot-framework
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdemo80.robot
50 lines (41 loc) · 1.38 KB
/
demo80.robot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
*** Settings ***
Documentation Test of all elements in OpenERP
Library DatabaseLibrary
Resource odoo_8_0.robot
*** Test Cases ***
# make some checks in DB
Check in DB
Connect To Database Using Custom Params psycopg2 database='odoo8_selenium',user='openerp',password='postgres',host='localhost',port=5432
@{queryResults} Query select * from res_partner
Log Many @{queryResults}
Check if exists in database select * from res_partner WHERE name='Agrolait'
Disconnect from Database
Valid Login
Login admin admin odoo8_selenium
Main Menu
MainMenu 68
Capture Page Screenshot
SubMenu
SubMenu 287
Capture Page Screenshot
ChangeView
ChangeView graph
Capture Page Screenshot
ChangeView list
Capture Page Screenshot
Create
Button oe_form_button_create
Capture Page Screenshot
Many2OneSelect sale.order partner_id Agrolait, Thomas Passot
Date sale.order date_order 07/30/2013
Char sale.order client_order_ref Hallo Welt
AddOne2Many
NewOne2Many sale.order order_line
Capture Page Screenshot
CreateOrderLine
Many2OneSelect sale.order.line product_id Flugticket
Char sale.order.line product_uom_qty 15
Char sale.order.line price_unit 213
Button oe_form_button_save_and_close
Button oe_form_button_save
Capture Page Screenshot