Selenium Connector

Using the INTELLIBOT connectors user can handle Mutli-level interaction with various applications.

The Selenium Connector allows a user to perform various common operations within the Internet Explorer, Chrome, Edge, Firefox application.

Note

The Selenium connector is not a default connector and needs to be added to a project every project instance.

Configure

Refer to the Plugin Manager section to learn more how to add the Selenium conenctor into a project.

How to Use

Once the connector is added to a project, the same can be accessed by clicking on the Connectors section in the toolbox.

  1. In the Toolbox expand Connectors.

    Screenshot

  2. Drag the Selenium Connector and drop it onto Global Objects.

  3. Expand Global Objects.

    Screenshot

  4. Right click on the Selenium connector(WebApplication_1) under Global Objects and click on Configure.

    Screenshot

  5. Enter the application URL and click on the ‘START‘ button on the SELENIUM CONNECTOR window.

    Screenshot

  6. Application will be opened in the respective browser based on the selection of the browser dropdown list.CHROME is selected by default.

  7. Click the Screenshot icon to add SCREENS (web pages).AVAILABLE BROWSER WINDOWS pop up, which displays a list of all the available browser windows.

    Screenshot

  8. To add the Screen (web Page), select the required webpage and click on OK button of ‘AVAILABLE BROWSER WINDOWS’ pop up.

    Screenshot

  9. Select the Title (Google) which is added to PAGE MATCH RULES section to make any changes in the PROPERTIES section.

    Screenshot

    Properties

    Misc

    Type Description
    ComparerTitle Equals Checks the current Webpage Google Page.
    ComparisonTypeEquals Checks the value with the equals condition .
    Contains Checks for the particular input value in the Title and URL.
    Starts With Checks whether the given URL, Title starts with given Input Value.
    Ends With Checks whether given URL, Title ends with given Input Value.
    Regular Expressions Using wildcards like() can be used as Regular Expression for checking URL's and Title's.

    Note:
    --checks for multiple characters.
    ComparisonValue Checks the current Target Application.Note: *--checks for multiple characters.
  10. Right click the Title (For Eg:Google) under the SCREENS section of the Selenium Connector window and select Refresh to highlight the required window..

    Screenshot

    Type Description
    Refresh Allows user to refresh a webpage.
    Focus Allows user to focus on the current webpage.
    CaptureElement Allows user to capture the data in a webpage.
    Delete Allows user to delete the selected captured element.

    Screenshot

  11. Right click on the Title Google under the Screens section and click on capture element.

    Screenshot

  12. The browser will focus allowing the users to capture the required elements, users need to hover their cursor on the web element where an action needs to be performed. Hold the CTRL key and name the element and click on Screenshot icon to save the action. User can capture multiple web elements if required. Click on X to close the popup.

    Screenshot

    Screenshot

  13. Right click on the captured element, in this example Google Search and click on Refresh and close the SELENIUM CONNECTOR window.

    Screenshot

    Type Description
    Refresh Allows user to Refresh the current browser application.
    Highlight Allows user to Highlight the selected captured element in the current browser application.
    Re-Capture Allows user Re-capture the elements in an current browser.
    Set Text Allows user to Set Text in the selected captured element.
    Get Text Allows user to Get Text from the selected captured element.
    Click Allows user to perform a Click action in the selected captured element .
    Delete Allows user to Delete the selected captured element.

    Screenshot

    Type Description
    ID(Identifier) An Identifier is a name used to identify the captured element behavior and function or any other user defined item.
    Name The Name option is used to name a property.
    CssSelector A CSS selector is the part of a CSS rule set that selects any content the user wants to style.
    TagName Users will use theTagName element to extract data potentially arbitrary type and need to perform a type-specific operation.( HTMl or Href).
    Match Attributes The Match Attributes method determines if one attribute is equal to another. Its default implementation is the same as equals which determines whether two attributes are of the same type and have the same field values.

    Screenshot

    Properties

    Type Description
    ComparerEquals Checks the value with the Equals condition.
    Contains Checks for the input value in the Title and URL.
    Starts With Checks whether the given URL, Title starts with given Input Value.
    Ends With Checks whether the given URL, Title ends with given Input Value.
    Regular Expressions Using wildcards like() can be used as a Regular Expression for checking a URL and Title Note: --checks for multiple characters.
    Wildcard Wildcard searches use a Pattern that identifies the string of text that the user wishes to find, and ignores everything else Wildcard examples (*,?,[ ],!,-,#).
    Is Not Simple Checks the value with condition is Equal or Not.
    DoesnotContain Checks for the input value in the Title and URL found or Not.
    DoesNotStartWith Checks whether the given URL, Title starts with given Input Value found or Not.
    DoesNotEndWith Checks whether the given URL, Title ends with given Input Value found or Not.
    IsNotRegularExpression Checks if the given value is a Regular Expression or Not.
    IsNotWildCard Checks the if the value is a Wildcard or Not.
    Escape It refers to a combination of characters beginning with a Back Slash () followed by letters or digits.
    IgnoreCase While using the Case-Insensitive string comparison is done. for Eg: (INTELLIBOT)(Intellibot).
    Name Displays the current Browser Application Name.
    Trim This method is used to remove all leading and trailing White-Space characters from the current String object.
    Type Attribute: Attribute name equals identifier
    Property Checks if the Property name equals the Identifier.
    Value Identifier
  14. Expand Global Objects, and double click on the Selenium Connector(WebApplication_1) user will see all the available methods under Selenium connector.

    Screenshot

  15. Expand Global Objects, then expand the Selenium Connector(WebApplication_1) and double click on the Google element, user will see all the available methods under Screen (web page).

    Screenshot

  16. Expand Global Objects, then expand the Selenium Connector (WebApplication_1) and double click on the Google Search, user will see all the available methods under Web element.

    Screenshot

Each method from the list can be dragged and dropped on to the design surface.

Status

Allows the user check the Web applications status.

Screenshot

Allows the user set an URL to navigate within the web application.

Screenshot

WaitForAnyScreen

Allows a user Wait for a particular web application Screen.

Screenshot

Close:

Allows the user to close a web application.

Screenshot

ExecuteJavaScript

Allows the user automate a web browser application by using Java Script. Double click on the components title bar to open the Java Script editing window.

Screenshot

Screenshot

Focus

Allows the user to focus on a web application.

Screenshot

GetFields

Allows the user to get the required data from the captured elements.

Screenshot

GetValueByXpath

Allows the user get the Xpath Values.

Input: XpathExpressions.

Screenshot

GetValuesByXpath

Allows the user to get the values and attributes of a specific web element through their Xpath.

Double click on the component. Xpath expressions Window will open. Click on Screenshot icon in the window. The user will be able to add additional parameters and provide the element name and Xpath.

DataTable: Data table with extracted data of web elements.

Screenshot

Screenshot

IsCreated

Allows the user to check if the element has been rendered successfully on the web application.

Screenshot

SetFields

Allows the user to perform actions on different elements like Input box, Drop down, Button, Check Box, Radio Button. Set All Capture Elements in Set Fields.

Double click on component: CHOOSE FORM ELEMENTS WINDOW will open with the elements already captured at the time of configuration.

Screenshot

Screenshot

WaitForCreate

Allows the user to configure the Wait to Create function for a specific webpage to load completely before execution.

Screenshot