You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/functions/function-assert.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,9 @@ search.app:
16
16
---
17
17
# Assert function in Power Apps Test Studio
18
18
19
-
An assertion is a condition or an expression that evaluates to true or false in a test. If the expression returns false, the test case will fail. Assertions are used to validate the expected result of a test or test step, against the actual result and to fail the test if the condition is false.
19
+
An assertion is a condition or an expression that evaluates to true or false in a test. If the expression returns false, the test case will fail. Assertions are used to validate the expected result of a test or test step, against the actual result and to fail the test if the condition is false. Assertions can be used to validate the state of controls in your app such as label values, list box selections and other control properties.
20
+
21
+
Assertion messages, for both passed and failed assertions, are also contained in a Traces table in the TestCaseResult record.
20
22
21
23
## Syntax
22
24
@@ -26,9 +28,11 @@ An assertion is a condition or an expression that evaluates to true or false in
26
28
-*Message* – Not Required. A message that describes the assertion failure.
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/functions/function-select.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,17 +89,15 @@ A control can't **Select** itself directly or indirectly through other controls.
89
89
90
90
## Select function for Test Studio
91
91
92
-
For tests, the select action will fail if the control you are trying to select is not available on the current screen.
93
-
94
-
The select function can also be used to specify the row to select in a gallery and the control to select within that row of the gallery.
92
+
The select function can also be used to specify the row or column to select in a gallery and the control to select within that row or column of the gallery.
95
93
96
94
### Syntax
97
95
98
-
*Select(Control, Row, Child Control)*
96
+
*Select(Control, Row or column, Child Control)*
99
97
100
98
-*Control* – Required. The control to select on behalf of the user.
101
-
-*Row* – Not required. The row in a gallery control to select on behalf of the user.
102
-
-*Child Control* - Not required. The child control to select in the row of a gallery on behalf of the user.
99
+
-*Row or column* – Not required. The row or column in a gallery control to select on behalf of the user.
100
+
-*Child Control* - Not required. The child control of the control identified in the 'control' parameter to select.
0 commit comments