-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathtestPlanWithCommaForDecimal.fx.yaml
More file actions
48 lines (44 loc) · 2.21 KB
/
testPlanWithCommaForDecimal.fx.yaml
File metadata and controls
48 lines (44 loc) · 2.21 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
# yaml-embedded-languages: powerfx
testSuite:
testSuiteName: Calculator
testSuiteDescription: Verifies that the calculator app works. The calculator is a component.
persona: User1
# appId: fd32a609-eaca-4d91-b5b4-31651d265133
appLogicalName: new_calculator2_11d82
testCases:
- testCaseName: Default Check
testSteps: |
= Screenshot("calculator_loaded.png");;
Assert(Calculator_1.Number1Label.Text = "4,42"; "Validate default value for number 1 label");;
Assert(Calculator_1.Number2Label.Text = "2,5"; "Validate default value for number 2 label");;
- testCaseName: Check Addition
testSteps: |
= Select(Calculator_1.Add);;
Assert(Calculator_1.ResultLabel.Text = "6,92"; "Validate result label has the results of addition");;
Assert(Calculator_1.CalculatorResult = 6,92; "Validate component output calculator result has the results of addition");;
- testCaseName: Check subtraction
testSteps: |
= Select(Calculator_1.Subtract);;
Assert(Calculator_1.ResultLabel.Text = "1,92"; "Validate result label has the results of subtraction");;
Assert(Calculator_1.CalculatorResult = 1,92; "Validate component output calculator result has the results of subtraction");;
- testCaseName: Check multiplication
testSteps: |
= Select(Calculator_1.Multiply);;
Assert(Calculator_1.ResultLabel.Text = "11,05"; "Validate result label has the results of multiplication");;
Assert(Calculator_1.CalculatorResult = 11,05; "Validate component output calculator result has the results of multiplication");;
- testCaseName: Check division
testSteps: |
= Select(Calculator_1.Divide);;
Assert(Calculator_1.ResultLabel.Text = "1,768"; "Validate result label has the results of division");;
Assert(Calculator_1.CalculatorResult = 1,768; "Validate component output calculator result has the results of division");;
Screenshot("calculator_end.png");;
testSettings:
locale: "de-DE"
recordVideo: true
browserConfigurations:
- browser: Chromium
environmentVariables:
users:
- personaName: User1
emailKey: user1Email
passwordKey: NotNeeded