The topics in this section describe the different data types available in useMango™. These data types allow you to store and manage various kinds of values and identifiers required for testing. The six types of data types supported are:
Text - The Text data type is used to store plain text or strings, such as names, messages, or other textual information.
Example: For instance, if you need to store the value of username, you can create a data type named Username with the value “John”.
Web Identifier - The Web Identifier data type is used to store locators for web elements, helping you interact with buttons, text fields, and other webpage elements during tests.
Example: To click a login button, you could create a data type named LoginButton with the value css=#login-button.
Mobile Identifier - The Mobile Identifier data type helps you store locators for elements in mobile apps, such as buttons or icons.
Example: For instance, to locate a search icon in your app, you can create a data type named SearchIcon with the locator value id=com.example.app:id/search_icon.
Secret - The Secret data type is used to store sensitive information, such as passwords, ensuring the values are securely stored and hidden from view after being added.
Example: For storing a password, you could create a data type named Password and securely store the value, such as 12345-abcde. This keeps it safe and hidden from others.
Image Identifier - The Image identifier data type stores image snippet to locate elements based on their appearance.
Example: To identify a Sign Up button, you could create a data type named SignUpButton that holds an image snippet of the button.
Table - A Table data type stores tabular data, like a CSV file.
Example: If you have user details in a CSV file, you could create a variable called UserDetailsTable to store that data.
You can either snip a new image or upload an existing one:
Snip a New Image
Upload an Existing Image
Fig: Snip a new image
The maximum file size for image identifier and table is 200KB
Fig: Edit table data
Table headers cannot be multi-lined; only alphanumeric characters, spaces, hyphens, and underscores are allowed.