11
Applenium User Guide UI Automation for Web and Mobile

applenium user guide

Embed Size (px)

DESCRIPTION

Applenium is an Automation tool for WEB and Mobile Automation. This is User Guide : "How to create your first test with Applenium". Good Luck!!!

Citation preview

Page 1: applenium user guide

Applenium User GuideUI Automation for Web and Mobile

Page 2: applenium user guide

OverviewWith Applenium(a.k.a eToroAutoStudio) you can :1.Create automatic Tests and Scenarios2.Execute in UI and and cmd modes3.Analyze results in UI/DB or log files4.Run scenarios on Firefox/Chrome and Internet explore5.Run all scenarios in parallel on remote machine.6.Applenium supports Browsers running on Win and Linux

Page 3: applenium user guide

InstallationGet the latest version from :

Open Source version from https://github.com/bobmarthin/Applenium

OR

Install MSI it to your file system https://github.com/bobmarthin/Applenium/blob/master/Applenium.msi

Page 4: applenium user guide

How application should look After opening the following applications will bring up:1. WebDriver ( cmd window )2.Chrome or Firefox Browser with default URL3.Applenium Application

Page 5: applenium user guide

My first Test : “How to map objects?”

Before creating tests you need to map objects:1.Right click on the object ->Inspect element2.Copy ID/XPATH/CSSELCTOR from Inspected Element3.Add new Element in Applenium and Copy Element Type to Identifier Value.

1-Gui Map

2-AddNewElement

3

Page 6: applenium user guide

My first Test : “How to create test?”

Switch to Test Editor in Applenium.1.Right Click in TreeView under your Project and add Page+PageSection2.Right Click under PageSection and Create New Test.

1-Test Editor

2-Add steps

3-Input Data

Page 7: applenium user guide

List of Commandsclick waitUntill_DispayedElementWithRefresh count&CompareElements(tablerows)

sendKey createTestUser scrollDown

navigateToURL refreshPage scrollUp

findElement runExe switchToWindow

check sleep(sec) validateOpenTrades

mouseOver compareDB compareValueEqual

waitUntill_FindElement saveElementText closeCurrentWindow

compareTextEqual acceptAlert closeWindowByName

waitUntill_DispayedElement dismissAlert deleteAllCookies

verifyIsExists saveTextToMemmory

selectDropDownByText compareDBToMemmoryText

selectDropDownByValue compareTextNotEqual

setLocalStorage(runJavaCommand) compareTextToMemmory

Page 8: applenium user guide

ConfigurationLeave it default configuration at that stage

Page 9: applenium user guide

How to run in paralleluse Grid mode TBD

Page 10: applenium user guide

How to execute ?Simply press RUN button ...

Page 11: applenium user guide

Result All result are under Log Directory in installation folder As well results saved in DB and after each execution is presented in Analyzing Tab