User Tools

Site Tools


objects_identification

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

objects_identification [2018/01/04 12:11]
tast
objects_identification [2024/01/16 08:44] (current)
montse [Checking Selectors:]
Line 1: Line 1:
 ====== Objects Identification ====== ====== Objects Identification ======
- 
-[[doku>​wiki:​dokuwiki|{{wiki:​TAST-128_small.png }}]]  
  
 When working with an automation tool, it is very important to be able to identify objects and work with them. Otherwise, the automation tool will not know where to click or type. When working with an automation tool, it is very important to be able to identify objects and work with them. Otherwise, the automation tool will not know where to click or type.
Line 20: Line 18:
   * XPath   * XPath
  
-{{:​Search_by_eng.png?​nolink&​1100|}}+{{:​Search_by_eng.png?​nolink&​2500|}}
  
 With every one of them, TAST user will have to fill out the field "​Element"​ at the right side, that will contain the value of the option selected in "​Search by". For example, if we want to use the attribute "​Id"​ for the Login button, we will have to write in the element field, the ID of the button itself. With every one of them, TAST user will have to fill out the field "​Element"​ at the right side, that will contain the value of the option selected in "​Search by". For example, if we want to use the attribute "​Id"​ for the Login button, we will have to write in the element field, the ID of the button itself.
Line 35: Line 33:
   * Press F12, and after that press CTRL + F (Strg+F in German keyboards)   * Press F12, and after that press CTRL + F (Strg+F in German keyboards)
   * A search bar appears downwards. Use it to introduce the Xpath or CSS selector, and at the right side will appear a number "​n/​n"​ if this number is 1/1, the element is defined uniquely.   * A search bar appears downwards. Use it to introduce the Xpath or CSS selector, and at the right side will appear a number "​n/​n"​ if this number is 1/1, the element is defined uniquely.
-  * +   
 ==== Finding Selectors: ==== ==== Finding Selectors: ====
  
-Also, for ease the way of work with this attributes, in case of need, user can download ​[[here]] ​an __excel sheet__ that helps to choose the proper identifier.+Also, for ease the way of work with this attributes, in case of need, user can download an __excel sheet__ that helps to choose the proper identifier.
  
 The working of this tool is as follows: The working of this tool is as follows:
objects_identification.1515067878.txt.gz ยท Last modified: 2018/01/04 12:11 by tast