Skip to content

Commit

Permalink
Updated appstore widget actions reference (#44)
Browse files Browse the repository at this point in the history
* Added Mendix appstore widgets to refrences #1

* Added Mendix appstore widgets actions to reference #2

* Tutorial chrome_devTools image fix

* updated information for 1.8 release

* release notes and small fix in action reference

* Update Custom+Action+Creation+Tutorial.md

* Update Assert+BooleanSlider+Value.md

* Update Get+BooleanSlider+Value.md

* Update Set+BooleanSlider+Value.md

* Update Toggle+BooleanSlider+Value.md

* Update Assert+BootstrapRTE+Value.md

* Update Get+BootstrapRTE+Value.md

* Update Assert+BootstrapRTE+Value.md

* Update Get+BootstrapRTE+Value.md

* Update Assert+BooleanSlider+Value.md

* Update Assert+BooleanSlider+Value.md

* Update Get+BooleanSlider+Value.md

* Update Set+BooleanSlider+Value.md

* Update Toggle+BooleanSlider+Value.md

* Update Assert+BootstrapRTE+Value.md

* Update Get+BootstrapRTE+Value.md

* Update Set+BootstrapRTE+Value.md

* Update Set+BootstrapRTE+Value.md

* Update Assert+CKEditor+Value.md

* Update Get+CKEditor+Value.md

* Update Set+CKEditor+Value.md

* Update Assert+Checkbox+Set+Selector+Value.md

* Update Find+Checkbox+Set+Selector(all).md

* Update Find+Checkbox+Set+Selector.md

* Update Get+Checkbox+Set+Selector+Value(all).md

* Update Get+Checkbox+Set+Selector+Value.md

* Update Set+Checkbox+Set+Selector+Value(all).md

* Update Set+Checkbox+Set+Selector+Value.md

* Update Toggle+Checkbox+Set+Selector+Value(all).md

* Update Toggle+Checkbox+Set+Selector+Value.md

* Update Click+Dropdown+div+converter+dropdown+button.md

* Update Click+Dropdown+div+converter+split+button.md

* Update Assert+Grid+Selector+Value.md

* Update Find+Grid+Selector+Box.md

* Update Get+Grid+Selector+Box+Value.md

* Update Set+Grid+Selector+Checkbox+Value.md

* Update Set+Grid+Selector+Checkbox+Value.md

* Update Set+Grid+Selector+Checkbox+Value.md

* Update Set+Grid+Selector+Checkbox+Value.md

* Update Set+Grid+Selector+Checkbox+Value.md

* Update Set+Grid+Selector+Radiobutton+checked.md

* Update Set+Grid+Selector+Radiobutton+checked.md

* Update Set+Grid+Selector+Radiobutton+checked.md

* Update Toggle+Grid+Selector+Checkbox+Value.md

* Update Assert+InputReferenceSelector+Value.md

* Update Get+InputReferenceSelector+Value.md

* Update Set+InputReferenceSelector+Value.md

* Update Assert+Simple+Checkbox+Set+Selector+Value.md

* Update Find+Simple+Checkbox+Set+Selector.md

* Update Get+Simple+Checkbox+Set+Selector+Value.md

* Update Get+Simple+Checkbox+Set+Selector+Value.md

* Update Set+Simple+Checkbox+Set+Selector+Value.md

* Update Toggle+Simple+Checkbox+Set+Selector+Value.md

* Update Release+Notes+1+8+0.md

* Update Release+Notes.md

* Update Toggle+BooleanSlider+Value.md

* Update Assert+Checkbox+Set+Selector+Value.md

* Update Find+Checkbox+Set+Selector(all).md

* Update Find+Checkbox+Set+Selector.md

* Update Get+Checkbox+Set+Selector+Value(all).md

* Update Get+Checkbox+Set+Selector+Value.md

* Update Set+Checkbox+Set+Selector+Value(all).md

* Update Set+Checkbox+Set+Selector+Value.md

* Update Toggle+Checkbox+Set+Selector+Value(all).md

* Update Toggle+Checkbox+Set+Selector+Value(all).md

* Update Toggle+Checkbox+Set+Selector+Value.md

* Update Click+Dropdown+div+converter+dropdown+button.md

* Update Click+Dropdown+div+converter+split+button.md

* Update Assert+Grid+Selector+Value.md

* Update Assert+Grid+Selector+Value.md

* Update Find+Grid+Selector+Box.md

* Update Set+Grid+Selector+Checkbox+Value.md

* Update Toggle+Grid+Selector+Checkbox+Value.md

* Update Set+Grid+Selector+Checkbox+Value.md

* Update Toggle+Grid+Selector+Checkbox+Value.md

* Update Assert+Simple+Checkbox+Set+Selector+Value.md

* Update Assert+Checkbox+Set+Selector+Value.md

* Update Get+Checkbox+Set+Selector+Value.md

* Update Get+Checkbox+Set+Selector+Value.md

* Update Set+Checkbox+Set+Selector+Value.md

* Update Toggle+Checkbox+Set+Selector+Value(all).md

* Update Find+Checkbox+Set+Selector.md

* Update Get+Checkbox+Set+Selector+Value(all).md
  • Loading branch information
kesslera authored and Adam Dupaski committed Nov 7, 2016
1 parent f47ed01 commit 6f5b5ed
Show file tree
Hide file tree
Showing 42 changed files with 809 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ATS/Custom+Action+Creation+Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ In this tutorial, we want to get the current value of the booleanSlider Appstore
Before we start with creating actions, we have to prepare our widget. Therefore we will build a prototype application, with only the widget we want to test in it. After that is done, we will run the application and inspect the HTML source code of the application with the browser development tools. You can open the development tools in **Mozilla Firefox** and **Google Chrome** by pressing <kbd>F12</kbd> or <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd> on your keyboard. Your browser should now look similar to this.

**Chrome Development Tools**
![Chrome devtools](attachments/Custom+Action+Creation+Tutorial/chrome_devtools.png)
![Chrome devtools](attachments/Custom+Action+Creation+Tutorial/chrome_devTools.png)

**Firefox Development Tools**
![Firefox devtools](attachments/Custom+Action+Creation+Tutorial/firefox_devtools.png)
Expand Down Expand Up @@ -155,4 +155,4 @@ Now, that the return value is set, our **Get booleanSlider Value** action is don
To test the custom action we've developed for the booleanSlider widget, we will use our prototype application and ATS standard actions.
Set the prototype application as *test application* in ATS (Read the [configuration section](Configuration#configure-test-applications) for more informations about setting applications as test applications). Now create a new test case. Let the test case open the prototype application and add our custom action to it. After that add [Assert Equals action](/ATS+Core+Actions/Assert+Equals) and use the test step output of our action as input parameter 1 for the [Assert Equals action](/ATS+Core+Actions/Assert+Equals). As input parameter 2, we will use the default value of the widget after launching the application, in our case *Sure*.

Always try to test your custom actions with ATS standard actions or JavaScript code. If you use other custom actions to evaluate the outcome of your new custom action, it is possible that you recieve false-positive results due to missbeheaving custom actions.
Always try to test your custom actions with ATS standard actions or JavaScript code. If you use other custom actions to evaluate the outcome of your new custom action, it is possible that you recieve false-positive results due to misbehaving custom actions.
5 changes: 3 additions & 2 deletions ATS/General.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,22 @@ Mendix platform and browsers.
| 1.5 | 5.14.1 - 6.6.0 | 5.17.0, 5.21.1, 6.4.1, 6.6.0 |
| 1.6 | 5.14.1 - 6.7.1 | 5.17.0, 5.21.1, 6.4.1, 6.6.0, 6.7.1 |
| 1.7 | 5.14.1 - 6.9.0 | 5.17.0, 5.21.1, 6.4.1, 6.6.0, 6.7.1, 6.9.0 |
| 1.8 | 5.14.1 - 6.9.0 | 5.17.0, 5.21.1, 6.4.1, 6.6.0, 6.7.1, 6.9.0 |

## Browser Support

### Firefox

| ATS version | Supported Firefox Versions |
| --- | --- | --- |
| 1.5 - 1.7 | 44, 45, 38 ESR, 45 ESR |
| 1.5 - 1.8 | 44, 45, 38 ESR, 45 ESR |

### Chrome

| ATS version | Supported Chrome Versions | Notes |
| --- | --- | --- |
| 1.5, 1.6 | 46-50 | |
| 1.7 | 51-53 | |
| 1.7, 1.8 | 51-53 | |
| | 54+ | Recent versions of Chrome usually work (unsupported). |

### Internet Explorer and Edge
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Assert BooleanSlider Value"
---
## Description
Asserts the value of the BooleanSlider Appstore Widget (String).

## Supported widgets
+ BooleanSlider

## Usage
Pass the name of the widget and the value you want to assert.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.
Value | String | Yes | The value you want to assert.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: "Get BooleanSlider Value"
---
## Description
Returns the current active text value from the BooleanSlider Appstore Widget.

## Supported Widgets
+ BooleanSlider

## Usage
Pass the name of the widget you want to get the value from.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.

## Return Value

Name | Datatype | Description
---- | :---------: | ---------------
Value | String | The current active value of the widget.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Set BooleanSlider Value"
---
## Description
Sets the given text as active value for the BooleanSlider appstore widget.

## Supported Widgets
+ BooleanSlider

## Usage
Pass the name of the widget and the value you want to mark as active.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.
Value | String | Yes | The value you want to mark as active.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: "Toggle BooleanSlider Value"
---
## Description
Clicks the BooleanSlider widget to toggle its value. This will invert the current value of the BooleanSlider.

## Supported widgets
+ BooleanSlider

## Usage
Pass the name of the widget.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Assert BootstrapRTE Value"
---
## Description
Asserts that the BootstrapRTE value is equal to the given value.

## Supported widgets
+ BootstrapRTE

## Usage
Pass the name of the widget and the value you want to assert.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.
Value | String | Yes | The value you want to assert.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: "Get BootstrapRTE Value"
---
## Description
Returns the current BootstrapRTE value as an HTML string.

## Supported Widgets
+ BootstrapRTE

## Usage
Pass the name of the widget you want to get the value from.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.

## Return Value

Name | Datatype | Description
---- | :---------: | ---------------
Value | String | The displayed value of the widget.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Set BootstrapRTE Value"
---
## Description
Sets the given value as current value for the BootstrapRTE value. Strings can be formatted via HTML code.

## Supported Widgets
+ BootstrapRTE

## Usage
Pass the name of the widget and the value you want to set.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.
Value | String | Yes | The value you want to set.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Assert CKEditor Value"
---
## Description
Compares the CKEditor value with the given value.

## Supported widgets
+ CKEditor

## Usage
Pass the name of the widget and the value you want to assert.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.
Value | String | Yes | The value you want to assert.
23 changes: 23 additions & 0 deletions ATS/Mendix+Appstore+Widgets+Actions/CKEditor/Get+CKEditor+Value.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: "Get CKEditor Value"
---
## Description
Returns the CKEditor value as HTML code.

## Supported Widgets
+ CKEditor

## Usage
Pass the name of the widget you want to get the value from.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.

## Return Value

Name | Datatype | Description
---- | :---------: | ---------------
Value | String | The displayed value of the widget.
18 changes: 18 additions & 0 deletions ATS/Mendix+Appstore+Widgets+Actions/CKEditor/Set+CKEditor+Value.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Set CKEditor Value"
---
## Description
Sets the given value as current value for the CKEditor value. The value can be formatted via HTML code.

## Supported Widgets
+ CKEditor

## Usage
Pass the name of the widget and the value you want to set.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.
Value | String | Yes | The value you want to set.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "Assert Checkbox Set Selector Value"
---
## Description
Finds the check box by the column caption and its cell value and asserts that the check box is set to the given value.

## Supported widgets
+ Checkbox Set Selector


## Usage
Pass the name of the widget, the column caption, and the cell value of the checkbox you want to assert the value for.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.
Column Caption | String | Yes | The caption of the desired check box column.
Value | String | Yes | The cell value of the check box row.
Checked | Boolean | Yes | The value of the check kbox you want to assert (true or false).
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "Find Checkbox Set Selector"
---
## Description
Finds the select all check box.

## Supported widgtes
+ Checkbox Set Selector

## Usage
Pass the name of the widget you want to get the select all check box from.

## Input Parameters
Name | Datatype | Required | Description
---- | :--------: | :--------: | ---------------
Widget Name | String | Yes | The name of the widget.

## Return Value

Name | Datatype | Description
---- | :---------: | ---------------
Widget | WebElement | The found check box.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "Find Checkbox Set Selector (All)"
---
## Description
Finds a check box by given cell value and column caption. Returns the first match.

## Supported widgtes
+ Checkbox Set Selector

## Usage
Pass the name of the widget, the column caption, and the cell value of the check box you want to find.

## Input Parameters
Name | Datatype | Required | Description
---- | :--------: | :--------: | ---------------
Widget Name | String | Yes | The name of the widget.
Column Caption | String | Yes | The caption of the desired check box column.
Value | String | Yes | The cell value of the check box row.

## Return Value

Name | Datatype | Description
---- | :---------: | ---------------
Widget | WebElement | The found check box.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "Get Checkbox Set Selector Value (All)"
---
## Description
Returns the "select all" check box value.

## Supported Widgets
+ Checkbox Set Selector

## Usage
Pass the name of the widget you want to get the select all check box value from.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.


## Return Value

Name | Datatype | Description
---- | :---------: | ---------------
Checked | Boolean | The current value of the check box.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Get Checkbox Set Selector Value"
---
## Description
Finds the check box via the column caption and cell value. Returns its value.

## Supported Widgets
+ Checkbox Set Selector

## Usage
Pass the name of the widget, the column caption, and the cell value of the check box you want to find.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.
Column Caption | String | Yes | The column caption of the desired check box.
Value | String | Yes | The cell value of the desired check box.

## Return Value

Name | Datatype | Description
---- | :---------: | ---------------
Checked | Boolean | The current value of the check box.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Set Checkbox Set Selector Value"
---
## Description
Clear/check the "select all" check box.

## Supported Widgets
+ Checkbox Set Selector

## Usage
Pass the name of the widget and the value you want do set for the "select all" check box.

## Input Parameters

Name | Datatype | Required | Description
---- |:--------:| :-------:|---------------
Widget Name | String | Yes | The name of the widget.
Checked | Boolean | Yes | The value for the check box you want to set (true or false).
Loading

0 comments on commit 6f5b5ed

Please sign in to comment.