Selenium Commands

Selenium commands for EyeAutomate.

Download the Selenium Command Bundle

Requirements

EyeAutomate, EyeStudio or EyeServer version 2.0 or higher.

Bundle Contains

29 commands and 1 tool including Java source code.

Setup Intructions

Download the eye bundle.

Use the File / Import Bundle option in EyeStudio an select the downloaded eye file. Restart EyeStudio.

Note that you may also unzip the eye file to the EyeAutomate root folder.

Use the EyeStudio tool SetEyeSelLicense to set the license for EyeSel, if needed.

Selenium Commands

An introduction to the Selenium commands in EyeAutomate.

OpenBrowser opens a new Selenium enabled browser. Use OpenRemoteBrowser to open a browser in a Selenium Server or Grid. Use the GetUrl command to open a website. MaximizeBrowser will expand the browser window to fill the entire desktop. Use the ClickId command (or ClickName, ClickCss, ClickXPath or ClickText) to set the focus to the input field and WriteText to write text to the field in focus. WaitId (or WaitName, WaitCss, WaitXPath or WaitText) will wait for an element to appear. CloseBrowser should be used to close the browser.

OpenBrowser opens a new Selenium enabled browser. MaximizeBrowser will expand the browser window to fill the entire desktop. Use the ClickName command to set the focus to the input field and WriteText to write text to the field in focus. SelectValue (or SelectIndex or SelectText) will select one of the options in the drop-down list. Use CaptureBrowser to create a screen capture of the browser content. The path to the captured image is stored in the CapturedImage parameter. CloseBrowser should be used to close the browser.

Create a hybrid script by using a combination of Selenium and Basic or Extended commands. With an EyeSel license images are located inside the browser window and clicks (or similar) are performed using Selenium commands. EyeSel scripts will also work in a Selenium Grid environment. Register your EyeSel license using the SetEyeSelLicense tool in EyeStudio.