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

Ключ

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

...

8.4. On the top panel, click on the "Search" (Magnifier) button, select the "Resources" tab.

*8.5. Activate the search by entering " Win-element" into the search.

8.6 . Expand the drop-down list for the resource " Win-element 1".

Image Modified

8.7 . Add actions "Convert data 2" and "Replace matches 2".

Image Modified

8.8. In the "Convert data 2" action, specify the "Web-element 1" resource property : "Web-element 1.XPath" as the input parameter.

Image Modified

8.9. In the "Replace matches 2" action, specify the resource property "Web-element 1" : "Web-element 1.DisplayName" as the output parameter.

Image Modified

8.10. On the top panel, click the Search button (Magnifier), select the Resources tab. Activate the search by entering "Web-element" Expand the drop-down list for the resource "Web-element 1".

Image Modified

8.11. On the top panel, click the Search button (Magnifier), select the Resources tab. Activate the search by entering "File" in it Expand the drop-down list for the resource "File 1" on the "Files" tab.

Image Modified

8.12. On the top panel, click on the "Search" button (Magnifier), select the "Resources" tab. Activate the search by entering the number "1" in it Expand the drop-down list for each of the resources.

Image Modified

9 Checking with several resources of the same type

9.1 . Create several more resources (e.g., 5-10 more each):

...

9.3. On the top panel, click on the "Search" button (Magnifier), select the "Resources" tab and check each of the resource types by activating the search by typing the resource name.

...

Image Added

10 . Re-open Reopen the studio and again check each tab on the Resources tab in the Search functionality

11. Checking when resources of different types are used simultaneously in one action

11.1. Add the "Add element object 1" action to the script, increase the number of parameters.

...

Image Added

11.2. In the "Object" parameter, specify the resource "Variable 1".

...

In the "Object 3" parameter, specify the resource property "Web-element 1" : "Web-element 1.Definition".

...

Image Added

11.3. On the top panel, click on the "Search" (Magnifier) button, select the "Resources" tab, and check each resource by activating the search by typing the resource name.

...

Image Added

12. Search by partial match

12.1. In the Studio settings in the "Exact match search" field uncheck the box, if checked.

...

Image Added

12.2. Enter in the search field: "Variable".

12.3. Enter in the search field: "File".

12.4. Enter in the search field: "Web-element".

12.5. Enter in the search field: "Win-element".

13. Deleting from parameters and results of resource actions and resource properties.

13.1. Remove all references to resources from all parameters and action results.

13.2 . On the top panel click on the "Search" button ( Magnifier), select the "Resources" tab and check each resource by activating the search by resource name. There is a bug: if you remove variables from actions and search in resources, it will still show that the variable in the action is used, although this variable is removed from the action. Only reloading the studio helps.

...

Image Added

14. Deleting actions that use resources and their properties

...

Let's delete the "Read text file" action.

...

Image Added

Result

...

Image Added

15. Deleting resources

15.1. Specify resources and their properties in the action parameters and results.

...

Let's remove the File parameter and check.

...

Image Added

Result

Image Added

As you can see the search did not yield any results as the resource has been removed.