-
Notifications
You must be signed in to change notification settings - Fork 32
/
testPlanForRegionUseSemicolonAsSeparator.fx.yaml
35 lines (33 loc) · 1.55 KB
/
testPlanForRegionUseSemicolonAsSeparator.fx.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
testSuite:
testSuiteName: Basic Gallery
testSuiteDescription: Verifies that you can interact with controls within a basic gallery
persona: User1
appLogicalName: new_galleryapp_80360
testCases:
- testCaseName: Case1
testSteps: |
= Screenshot("basicgallery_loaded.png");;
Assert(Label1.Text = "Lorem ipsum 1"; "Label should indicate first item in the gallery");;
Select(Label1);;
Assert(Index(Gallery1.AllItems; 2).Title1.Text = "Lorem ipsum 2"; "Validate the label in the 2nd row of the gallery");;
Select(Index(Gallery1.AllItems; 2).NextArrow1);;
Assert(Label1.Text = "Lorem ipsum 2"; "Label should be updated to indicate second item in the gallery");;
// Using the test studio syntax to select gallery item
Select(Gallery1; 2);;
Select(Gallery1; 3; NextArrow1);;
Assert(Label1.Text = "Lorem ipsum 3"; "Label should be updated to indicate third item in the gallery");;
// Using SetProperty to change the values on the controls
SetProperty(Label1.Text; "End of the test");;
SetProperty(Index(Gallery1.AllItems; 2).Title1.Text; "End of the test");;
Assert(Index(Gallery1.AllItems; 2).Title1.Text = "End of the test"; "Label in the gallery should be updated");;
Screenshot("basicgallery_end.png");;
testSettings:
locale: "de-DE"
recordVideo: true
browserConfigurations:
- browser: Chromium
environmentVariables:
users:
- personaName: User1
emailKey: user1Email
passwordKey: user1Password