Touch & Face ID Authentication (IOS)

 

We have introduced new commands supporting use of biometrics for iOS devices. Depending on the device you're working with, you can utilize one of these biometric methods for testing purposes.

 

Enabling Biometric Authentication

To enable biometrics on iOS devices, you can use the following commands:

 

enable Touch ID
enable Face ID

 

These commands activate the biometric feature on the device. If you need to disable the biometric functionality, the respective commands are:

 

disable Touch ID
disable Face ID

 

 

Enable/disable touch ID

 

How to Respond to Biometric Authentication Requests

Once biometric authentication is enabled, apps that require user authentication will prompt for biometric input. At this point, you can simulate a valid or invalid biometric reading.

 

For a valid biometric scan, use:

 

scan using Touch ID and pass
scan using Face ID and pass

 

For an invalid biometric scan, use:

 

scan using Touch ID and fail
scan using Face ID and fail

 

Scan authentication

 

For more detailed information, please refer to the following resources:

Enable Biometrics Documentation

Scan Using Biometrics Documentation



Complex validations (Excel/CSV)

 

New commands that allow users to interact with tables in downloaded XLS, XLSX, and CSV files. This update enhances the ability to validate and manipulate data within these file types during automated testing.

You can now perform actions on downloaded Excel files with the following commands:

 

click button "Download sample xlsx file"
check that file "file_example_XLSX_50.xlsx" was downloaded
check that file "file_example_XLSX_50.xlsx" at column "Id" the value count is greater than "2"


Excel download and validation.



In addition to the new support for Excel files, you can now run SQL queries directly on CSV files to verify or extract data.

 

click "download" on the right of "Pokemons.csv"
check that file "Pokemons.csv" was downloaded
run sql query "select Type from Pokemons;" using file "Pokemons.csv"

 

CSV download and SQL query.

 

For more detailed usage, refer to the following resources:

Validating XLS, XLSX, and CSV file downloads documentation.

CSV files.



Get File Name (Android, iOS, and Windows Sandbox)

 

We’ve added the ability to read file names on Android, iOS, and Windows Sandbox. This enhancement allows for more flexible testing by checking if a mobile or desktop file name contains specific keywords, such as "stg," "qa," "beta," or "prod." This is particularly useful for creating shared test cases and reusable rules based on the file environment.

 

save stored value "appFileName" as "variable name"



Execution

Extra Info

 

This feature is not limited to mobile devices. You can also retrieve file names during Windows desktop testing using Windows Sandbox, allowing for seamless integration of file-related test cases across both mobile (Android & iOS) and desktop platforms.

For more detailed information on how to utilize this feature, visit Predefined Variables Documentation.