CreateTenderTest.robot
1.11 KB
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
*** Setting ***
Library op_robot_tests.tests_files.service_keywords
Library String
LIbrary Collections
LIbrary Selenium2Library
Library DebugLibrary
Resource keywords.robot
Resource resource.robot
Suite Setup TestCaseSetup
Suite Teardown Close all browsers
*** Variables ***
${tender_dump_id} 0
${LOAD_BROKERS} ['Prom'] #['Prom', 'Quinta']
${LOAD_USERS} [ 'Prom Owner'] #'Tender Viewer', 'Tender User'
${tender_owner} prom_owner #Tender Owner
${provider} Tender User
${viewer} Tender Viewer
${item_id} 0
${question_id} 0
#Avalable roles and users
#roles: Owner, User, Viewer
#palyers:
#E-tender
#Prom
#SmartTender
#Publicbid
#Netcast
*** Test Cases ***
Можливість оголосити однопердметний тендер
[Tags] ${USERS.users['${USERS.${tender_owner}}'].broker}: Можливість оголосити тендер
Викликати для учасника ${USERS.${tender_owner}} Створити тендер ${INITIAL_TENDER_DATA}
${LAST_MODIFICATION_DATE}= Get Current Date
Set Global Variable ${LAST_MODIFICATION_DATE}