Commit 523c59a89736a05398d01bf1fb017d9e898dca2a

Authored by selurvedu
1 parent a9780238

Drop INITIAL_TENDER_DATA in brokers/newtend.robot

... ... @@ -66,20 +66,19 @@ Login
66 66 [Arguments] @{ARGUMENTS}
67 67 [Documentation]
68 68 ... ${ARGUMENTS[0]} == username
69   - ... ${ARGUMENTS[1]} == initial_tender_data
  69 + ... ${ARGUMENTS[1]} == tender_data
70 70 ## Initialisation
71   - #${prepared_tender_data}= Add_data_for_GUI_FrontEnds ${ARGUMENTS[1]}
72   - ${INITIAL_TENDER_DATA}= Add_data_for_GUI_FrontEnds ${INITIAL_TENDER_DATA}
73   - ${INITIAL_TENDER_DATA}= Update_data_for_Newtend ${INITIAL_TENDER_DATA}
74   - ${items}= Get From Dictionary ${INITIAL_TENDER_DATA.data} items
75   - ${title}= Get From Dictionary ${INITIAL_TENDER_DATA.data} title
76   - ${description}= Get From Dictionary ${INITIAL_TENDER_DATA.data} description
77   - ${budget}= Get From Dictionary ${INITIAL_TENDER_DATA.data.value} amount
78   - ${step_rate}= Get From Dictionary ${INITIAL_TENDER_DATA.data.minimalStep} amount
79   - ${start_date}= Get From Dictionary ${INITIAL_TENDER_DATA.data.tenderPeriod} startDate
80   - ${end_date}= Get From Dictionary ${INITIAL_TENDER_DATA.data.tenderPeriod} endDate
81   - ${enquiry_start_date}= Get From Dictionary ${INITIAL_TENDER_DATA.data.enquiryPeriod} startDate
82   - ${enquiry_end_date}= Get From Dictionary ${INITIAL_TENDER_DATA.data.enquiryPeriod} endDate
  71 + ${prepared_tender_data}= Add_data_for_GUI_FrontEnds ${ARGUMENTS[1]}
  72 + ${prepared_tender_data}= Update_data_for_Newtend ${prepared_tender_data}
  73 + ${items}= Get From Dictionary ${prepared_tender_data.data} items
  74 + ${title}= Get From Dictionary ${prepared_tender_data.data} title
  75 + ${description}= Get From Dictionary ${prepared_tender_data.data} description
  76 + ${budget}= Get From Dictionary ${prepared_tender_data.data.value} amount
  77 + ${step_rate}= Get From Dictionary ${prepared_tender_data.data.minimalStep} amount
  78 + ${start_date}= Get From Dictionary ${prepared_tender_data.data.tenderPeriod} startDate
  79 + ${end_date}= Get From Dictionary ${prepared_tender_data.data.tenderPeriod} endDate
  80 + ${enquiry_start_date}= Get From Dictionary ${prepared_tender_data.data.enquiryPeriod} startDate
  81 + ${enquiry_end_date}= Get From Dictionary ${prepared_tender_data.data.enquiryPeriod} endDate
83 82
84 83 Selenium2Library.Switch Browser ${ARGUMENTS[0]}
85 84 Go To ${USERS.users['${username}'].homepage}
... ...
Please register or login to post a comment