Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

  1. Drag the following actions to the workspace:
    • «Open Browser», «Close Browser» from the «Browsers» action group;
    • «Open», «Save», «Close» from the «Excel» action group;
    • «For» from the «Basic Actions» group.

    Example:
    Image RemovedImage Added

  2. Fill in the action parameters:
    1. Action «Open Browser» - choose «Chrome» from the drop-down list of browsers, and in the «Address» field, specify the link to the «Supplier Portal» website and navigate to the procurement plans tab. 

      Example:
      Image Added

    2. Action «Close Browser» - context browser.
      Image Added

    3. Action «Open» - in the «File Path» parameter, specify the path to the Excel file.
      Image Added

    4. Actions «Save» and «Close» - in the «Context» parameter, specify the previously opened Excel file.
      Image Added

    5. Action «For»:

    • «Initial Value» «From» - 1;
    • «Final Value» «To» - 5;
    • «Iterator» «Increment» - 1.
  3. Analyze the XPath of the web element:
    Compare the XPath of two consecutive procurement plans for customer information and write them to a text file. It can be observed that the only difference between them is one digit.
  4. Create a variable with the data type «String,» and the value will be the XPath of the customer, where the changing digit will be replaced with the word «Customer».
    Example:
  5. Fill the body of the loop with actions: «Convert Data» from the «Basic Actions» group, «Replace by Pattern» from the «Text» action group, «Get Text» from the «Browsers» action group, and «Set Cell Value» from the «Excel» action group.
    Example:
  6. Fill in the action parameters:

...