Showing
1 changed file
with
6 additions
and
6 deletions
@@ -319,8 +319,8 @@ Library Selenium2Library | @@ -319,8 +319,8 @@ Library Selenium2Library | ||
319 | 319 | ||
320 | 320 | ||
321 | Поставити максимально можливу ставку | 321 | Поставити максимально можливу ставку |
322 | - Wait Until Page Contains Element id=max_bid_amount_price | ||
323 | - ${last_amount}= Get Text id=max_bid_amount_price | 322 | + Wait Until Page Contains Element xpath=//div[@class='col-md-5 col-sm-5 full-price-group']//span[@class='ng-binding'] |
323 | + ${last_amount}= Get Text xpath=//div[@class='col-md-5 col-sm-5 full-price-group']//span[@class='ng-binding'] | ||
324 | ${last_amount}= convert_amount_string_to_float ${last_amount} | 324 | ${last_amount}= convert_amount_string_to_float ${last_amount} |
325 | ${value}= Convert To Number 0.01 | 325 | ${value}= Convert To Number 0.01 |
326 | ${last_amount}= subtraction ${last_amount} ${value} | 326 | ${last_amount}= subtraction ${last_amount} ${value} |
@@ -328,8 +328,8 @@ Library Selenium2Library | @@ -328,8 +328,8 @@ Library Selenium2Library | ||
328 | 328 | ||
329 | 329 | ||
330 | Поставити ставку більшу від максимальної на ${extra_amount} грн | 330 | Поставити ставку більшу від максимальної на ${extra_amount} грн |
331 | - Wait Until Page Contains Element id=max_bid_amount_price | ||
332 | - ${last_amount}= Get Text id=max_bid_amount_price | 331 | + Wait Until Page Contains Element xpath=//div[@class='col-md-5 col-sm-5 full-price-group']//span[@class='ng-binding'] |
332 | + ${last_amount}= Get Text xpath=//div[@class='col-md-5 col-sm-5 full-price-group']//span[@class='ng-binding'] | ||
333 | ${last_amount}= convert_amount_string_to_float ${last_amount} | 333 | ${last_amount}= convert_amount_string_to_float ${last_amount} |
334 | ${extra_amount}= convert_amount_string_to_float ${extra_amount} | 334 | ${extra_amount}= convert_amount_string_to_float ${extra_amount} |
335 | ${last_amount}= Evaluate ${last_amount}+${extra_amount} | 335 | ${last_amount}= Evaluate ${last_amount}+${extra_amount} |
@@ -366,12 +366,12 @@ Library Selenium2Library | @@ -366,12 +366,12 @@ Library Selenium2Library | ||
366 | 366 | ||
367 | 367 | ||
368 | Поставити малу ставку в ${last_amount} грн | 368 | Поставити малу ставку в ${last_amount} грн |
369 | - Wait Until Page Contains Element id=max_bid_amount_price | 369 | + Wait Until Page Contains Element xpath=//div[@class='col-md-5 col-sm-5 full-price-group']//span[@class='ng-binding'] |
370 | Поставити ставку ${last_amount} Ви ввели дуже малу суму | 370 | Поставити ставку ${last_amount} Ви ввели дуже малу суму |
371 | 371 | ||
372 | 372 | ||
373 | Поставити нульову ставку | 373 | Поставити нульову ставку |
374 | - Wait Until Page Contains Element id=max_bid_amount_price | 374 | + Wait Until Page Contains Element xpath=//div[@class='col-md-5 col-sm-5 full-price-group']//span[@class='ng-binding'] |
375 | Поставити ставку 0 Bid amount is required | 375 | Поставити ставку 0 Bid amount is required |
376 | 376 | ||
377 | 377 |
Please
register
or
login
to post a comment