TestRigor - Element Location Rules and UI Grid system

artembondar5 384 views 12 slides Jul 15, 2024
Slide 1
Slide 1 of 12
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12

About This Presentation

Element Location Rules of testRigor.


Slide Content

Element Location Rules

UI Grid

UI Grid

UI Grid 1. Right click 2. Inspect

UI Grid 1. Right click 2. Inspect

Relative location above below to the right of to the left of on the right top of on the right bottom of on the left top of on the left bottom of

Relative location near

Overlap Rule click "Grid" with at least "15" present overlap above "Radios"

Attributes

Attributes 1. Nested text 2. Placeholder 3. Value 4. data-tid/data-testid/data-test-id/Id/resource-id/data-id 5. Name 6. aria-label 7. CSS Class 8. label 9. hint/title/tooltip 10. Alt/Src 11. For inputs/edits/dropdowns/selects/etc. will also search corresponding label

Types (to use in commands) 1. text 2. label 3. button 4. link 5. input 6. dropdown 7. checkbox 8. radiobutton 9. file input Examples: click input "password" click button "password"

Basic Prompt T emplate Action Command Examples: click button "Sign In" below "password" enter "Hello" into "password" Action Target Target Location