This shows you the differences between two versions of the page.
mobile_adaptor [2024/12/09 12:58] montse [Functions] |
mobile_adaptor [2024/12/09 12:59] (current) montse [Functions] |
||
---|---|---|---|
Line 54: | Line 54: | ||
* **terminateApp(identifier, JSONArguments):** closes the specified application. Accepts JSON arguments.\\ \\ | * **terminateApp(identifier, JSONArguments):** closes the specified application. Accepts JSON arguments.\\ \\ | ||
* **type(InputElement):** adds the typed value to the already existing value of the element.\\ \\ | * **type(InputElement):** adds the typed value to the already existing value of the element.\\ \\ | ||
- | * **validateAttribute(Element, Attribute, Operator, Value to validate):** Validates element attributes like: id, class, href, size, width, value, text … etc. Print result on user log file.\\ \\ | + | * **validateAttribute(Element, Attribute, Operator, Value to validate):** validates element attributes like: id, class, href, size, width, value, text … etc. Print result on user log file.\\ \\ |
* **waitFor(Time in seconds):** waits for the specified time in seconds.\\ \\ | * **waitFor(Time in seconds):** waits for the specified time in seconds.\\ \\ | ||
* **waitForElement(Time in seconds, Element):** this function waits for the specified item to appear on the screen.\\ \\ | * **waitForElement(Time in seconds, Element):** this function waits for the specified item to appear on the screen.\\ \\ | ||