Showing
1 changed file
with
3 additions
and
2 deletions
@@ -23,8 +23,9 @@ edit contract | @@ -23,8 +23,9 @@ edit contract | ||
23 | wait until element is visible ${contract_contractform_contract_number_input_locator} 10 | 23 | wait until element is visible ${contract_contractform_contract_number_input_locator} 10 |
24 | capture page screenshot | 24 | capture page screenshot |
25 | ${file_path} ${file_name} ${file_content} = create_fake_doc | 25 | ${file_path} ${file_name} ${file_content} = create_fake_doc |
26 | - ${value_added_tax_included} = Run Keyword If '${mode}' == 'negotiation' run keyword and return status Checkbox Should Not Be Selected ${contract_contractform_value_added_tax_included_locator} | ||
27 | - run keyword if '${mode}' == 'negotiation' and ${value_added_tax_included} click visible element ${contract_contractform_value_added_tax_included_locator} | 26 | + ${value_added_tax_included} = Run Keyword If '${mode}' in 'negotiation reporting' run keyword and return status Checkbox Should Not Be Selected ${contract_contractform_value_added_tax_included_locator} |
27 | + run keyword if '${mode}' in 'negotiation reporting' and ${value_added_tax_included} Execute Javascript $('[id$="contractform-value_added_tax_included"]').click() | ||
28 | +# run keyword if '${mode}' == 'negotiation' and ${value_added_tax_included} click visible element ${contract_contractform_value_added_tax_included_locator} | ||
28 | ${contract_number} = get value by locator on opened page ${contract_contractform_contract_number_input_locator} | 29 | ${contract_number} = get value by locator on opened page ${contract_contractform_contract_number_input_locator} |
29 | Run Keyword If '${contract_number}' == '' input text to exist visible input ${contract_contractform_contract_number_input_locator} 1234567890 | 30 | Run Keyword If '${contract_number}' == '' input text to exist visible input ${contract_contractform_contract_number_input_locator} 1234567890 |
30 | capture page screenshot | 31 | capture page screenshot |
Please
register
or
login
to post a comment