@Browser
Last updated
Last updated
Description: This keyword or action instructs Avo Assure Client to close the current browser that the tool opens.
Find the snippet of the keyword below:
In the above example, after the test case debug, the application under test will be closed, and the execution status “True”/ “False” will be stored in variable {Close}.
Description: This keyword or action instructs Avo Assure Client to fetch the URL of the current web page and save the result in the output variable.
Find the snippet of the keyword below:
In the above example, after the test case debug, it fetches the URL of the current web page stored in {GetUrl}, and execution status “Fail”/ “Pass” will be stored in variable {currentURL}.
Description: This keyword or action instructs Avo Assure Client to fetch the title of the current web page and save the result in the output variable.
Find the snippet of the keyword below:
In the above example, after the test case debug, the title of the current web page will be fetched and stored in {PageTitle}, and the execution status “True”/ “False” will be stored in variable {pgtitle}.
Description: This keyword or action instructs Avo Assure Client to navigate to the given page/URL.
Note: If any URL contains a semicolon, then it should be passed through a dynamic variable.
Find the snippet of the keyword below:
In the above example, after the test case debug, it navigates to the provided URL, and the execution status “True”/ “False” will be stored in variable {navigateURL}.
Description: This keyword or action instructs Avo Assure Client to open a new browser.
Find the snippet of the keyword below:
In the above example, after the test case debug, the browser will be opened, and the execution status “True”/ “False” will be stored in the variable {openBrowser}.
Description: This keyword or action instructs Avo Assure Client to refresh the current browser.
Find the snippet of the keyword below:
In the above example, after the test case debug, it refreshes the current browser, and the execution status “True”/ “False” will be stored in variable {refresh}.
Description: This keyword or action instructs Avo Assure Client to switch control from one window to another.
Note:
The numbering of windows starts from 1.
If there are multiple tabs in a browser window, they are numbered in their arranged order, from left to right.
Switching between tabs is also considered windows. For example, in a scenario where the first window is opened, followed by the opening of a tab and then a new window, the number of windows in this scenario will be 3.
The control switches to the latest window if an input is not provided.
The delay attribute should be set as 0.1 or more in configuration settings, i.e., “delay”: “0.1”.
Find the snippet of the keyword below:
In the above example, after the test case debug, it switches control to the specified window, and the execution status “True”/ “False” will be stored in variable {switchWindow}.
Description: This keyword or action instructs Avo Assure Client to verify if the page URL is the same as the URL provided.
Find the snippet of the keyword below:
In the above example, after the test case debug, it verifies the URL of the page with the URL provided, and execution status “Fail”/ “Pass” will be stored in variable {verifyURL}.
Description: This keyword or action instructs Avo Assure Client to verify if the page title is the same as the title provided in the input.
Find the snippet of the keyword below:
In the above example, after the test case debug, it verifies the title of the page is the same as the title provided in input, and the execution status “True”/ “False” will be stored in variable {verifyPageTitle}.
Description: This keyword or action instructs Avo Assure Client to verify if the input text exists in the AUT/site.
Note: Keyword returns occurrences of the text that exist.
Find the snippet of the keyword below:
In the above example, after the test case debugs, it fetches the input text “Google” occurrences. It stores it in variable {Count}, and the execution status “True”/ “False” will be stored in variable {VerifyTextExists}.
Description: This keyword or action instructs Avo Assure Client to close all the open sub-windows.
Note:
If the input is empty, only the current sub-window, which is on focus, will be closed.
If the input is “ALL” (case-sensitive), all the sub-windows opened by the tool will be closed except the parent.
Find the snippet of the keyword below:
In the above example, after the test case debug, it closes the sub-windows that are opened by the tool, and the execution status “True”/ “False” will be stored in variable {closeSubWindow}.
Description: This keyword or action instructs Avo Assure Client to navigate to the last visited page/URL.
Find the snippet of the keyword below:
For the above keyword, after the test case debug, it navigates to the last visited page/ URL.
Description: This keyword or action instructs Avo Assure Client to open a new window (tab) within the launched browser.
Find the snippet of the keyword below:
In the above example, after the test case debug, a new window (tab) will be opened within the already launched browser, which was launched via the openBrowser keyword. The execution status “True”/ “False” will be stored in the output variable {openNewTab}.
Description: This keyword or action instructs Avo Assure Client to retrieve the serial numbers of all the connected devices/emulators.
Find the snippet of the keyword below:
After the test case debug for the above keyword, a list of connected devices/emulators will be fetched and stored in the output variable {device}. The execution status ‘Pass’/ ’Fail’ will be stored in the second output variable (if specified).
Description: This keyword or action instructs Avo Assure Client to invoke the device/emulator specified by the serial number in the input.
Note: Device <serialNumber> (Ex: <F7AZFG04V017>) Emulator <serialNumber> is emulator name (Ex: <emulator-5554>)
Find the snippet of the keyword below:
For the above keyword, after the test case debug, the device/emulator with the specified serial number will be invoked, and the execution status “True”/ “False” will be stored in the output variable (if specified).
Keyword
Input Syntax
Output Syntax
Supported Input Formats
getCurrentURL
NA
{Variable}; {Status}
NA
Keyword
Input Syntax
Output Syntax
Supported Input Formats
getPageTitle
NA
{Variable}; {Status}
NA
Keyword
Input Syntax
Output Syntax
Supported Input Formats
navigateToURL
<URL>
(optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
openBrowser
<Device_Number/ Simulator_Name>; <OS_Version>; <UDID > (Optional – Specify if OS is iOS)
(optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
refresh
NA
{variable}
NA
Keyword
Input Syntax
Output Syntax
Supported Input Formats
switchToWindow
<Number>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
verifyCurrentURL
<URL>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
verifyPageTitle
<Page Title>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
verifyTextExists
<Input text>
{Variable}; {Status}
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
closeSubWindows
(Optional)
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
navigateBack
NA
(optional)
NA
Keyword
Input Syntax
Output Syntax
Supported Input Formats
openNewTab
NA
(optional)
NA
Keyword
Input Syntax
Output Syntax
Supported Input Formats
GetDevices
NA
{Variable}; {Status}
NA
Keyword
Input Syntax
Output Syntax
Supported Input Formats
InvokeDevice
<serialNumber>
(optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
closeBrowser
NA
(Optional)
NA