Invoke Platform
This is a pre-built Action located within the @Generic Element. The functionality of this action in Avo Assure is to invoke or execute scripts from an external automation platform through a local path or from a connected Bitbucket repository.
Prerequisites
Before using the Invoke Platform action in Avo Assure, ensure the following requirements are fulfilled:
Platform Setup: Ensure the external automation platform must be installed and configured on the system.
Execution File Availability: The launching or executable file (e.g., .bat) for the selected platform must be available and accessible through a valid full file path.
Bitbucket Access (if applicable):
A valid Bitbucket repository connection must be configured in Avo Assure if the scripts are stored in Bitbucket.
The Repo Path and Branch Name must be correctly specified in the input.
Syntax
Input Value: <Platform Name>;<Launching file full path>;<Repo Path>(Bitbucket);<Branch Name>(Bitbucket)
<Platform Name> (Required)
Provide the name of the platform from which the script needs to be invoked (e.g., Selenium, Safal, etc.).
<Launching file full path>
(Required)
Provide the complete path of the launching file to be triggered for script execution.
Note: The launch file format must be in .bat format.
<Repo Path> (Optional)
The path of the Bitbucket repository where the script or file is stored. Required only when scripts are fetched from Bitbucket.
<Branch Name> (Optional)
The name of the branch in Bitbucket from which the script is to be executed.
Output Value: N/A
N/A
Not Applicable
Example 1: Invoking Selenium Script
In this example, we explain how to invoke the Selenium script directly from a local system.
The Invoke Platform action fetches the value from the Input Value column (Selenium;C:\Automation\LaunchFile.bat). The input includes the Platform Name (Selenium) and the Launching file full path (C:\Automation\LaunchFile.bat). This action invokes the Selenium script directly from the local system and executes it through Avo Assure platform.

Example 2: Invoking Safal Scripts Using All Parameters
In this example, we explain how to invoke the Safal scripts including Bitbucket repository details.
The Invoke Platform action takes the value from the Input Value column ( Safal;C:\Automation\LaunchFile.bat;https://bitbucket.org/avoautomation/testrepo.git;main). The input includes the Platform Name (Safal), Launching file full path (C:\Automation\LaunchFile.bat), Repo Path (Bitbucket repository URL), and Branch Name (main) and Avo Assure automatically clones the specified Bitbucket repository, fetches the required test scripts, and executes the automation script using all four parameters.

Additional Examples
Here are the examples and report formats for other supported platforms:
Supported Platforms
Input Value (Syntax)
Result
Safal
Safal;C:\Automation\LaunchFile.bat
After execution, the results can be viewed in the HTML report format within the Reports page. You can also download the report in Excel format.
Safal + Bitbucket
Safal;C:\Automation\LaunchFile.bat; https://avoassure [email protected];Mainbranch
After execution, the results can be viewed in the HTML report format within the Reports page. You can also download the report in Excel format for validation.
Cucumber
Cucumber;C:\Automation\LaunchFile.bat
After execution, the results can be viewed in the HTML report format within the Reports page. You can also download the report in HTML format.
Cucumber + Bitbucket
Cucumber;C:\Automation\LaunchFile.bat; https://avoassure [email protected];Mainbranch
After execution, the results can be viewed in the HTML report format within the Reports page. You can also download the report in HTML format.
Karate
Karate;C:\Automation\LaunchFile.bat
After execution, the results can be viewed in the HTML report format within the Reports page. You can also download the report in HTML format.
Karate + Bitbucket
Karate;C:\Automation\LaunchFile.bat; https://avoassure [email protected];Mainbranch
After execution, the results can be viewed in the HTML report format within the Reports page. You can also download the report in HTML format.
Selenium
Selenium;C:\Automation\LaunchFile.bat
After execution, the results can be viewed in the HTML report format within the Reports page. You can also download the report in HTML format.
Selenium + Bitbucket
Selenium;C:\Automation\LaunchFile.bat; https://avoassure [email protected];Mainbranch
After execution, the results can be viewed in the HTML report format within the Reports page. You can also download the report in HTML format.
Last updated
Was this helpful?