12
[project logo] Project Name Test Automation with Selenium Webdriver: Proof of Concept

test_automation_POC

Embed Size (px)

Citation preview

[project logo] Project NameTest Automation with Selenium

Webdriver: Proof of Concept

GoalValidate automated test feasibility for SUT using

Selenium webdriver

Technologies involved and Scope

Java + Selenium Webdriver

and

Javascript + Protractor ✴ Environme

nt

✴ Features

✴ System coverage

Environment• Hardware

Macbook Pro 2.3 GHz Intel i7 16GB 1600 MHz DDR3

• Operational SystemOS X 10.9.2 Mavericks

• BrowsersSafari 7.0.2

Chrome 33.0.1750. 149

Environment SetupJavascript + Protractor

Sublime Text 2* V2.0.2* EULA Copyright* .dmg file

NodeJS* V0.10.25* MIT License* .pkg file

Protractor* V0.20.1* MIT License* npm protractor -g

JVM* V1.7.0_51-b13* Oracle free to run

programs* .dmg file

Environment SetupJava + Selenium Webdriver

Eclipse Kepler* V Java EE* Apache 2.0 License* Unzip, allocate, run

Selenium Webdriver* V2.40.0* Apache 2.0 License* .pkg file

JUnit* V4.0.11* Apache 2.0 License* Install via Eclipse

Chrome Driver* V2.7* Apache 2.0 License* Download and place

in the /bin.JDK

* V1.0.7_51* Oracle free to run

programs* .dmg file

Features

Javascript + Protractor

✴ Javascript✴ Functional event driven non-

blocking IO. Can be used as OO.

✴ Used mainly XPath, CSS path as locators + Angular specifics

✴ Includes a “Mini-Jasmine”✴ Wraps Selenium Webdriver

including extra features✴ Has its own runner✴ Protractor: AngularJS specific

testing framework

Features

Java + Selenium Webdriver

✴ Java✴ Object Oriented✴ Used mainly XPath as

locator✴ Used JUnit as testing

framework in Eclipse

What tests have been performed so far?✴ Sanity test suite covering

one of the user cases happy paths

✴ Login✴ Undisclosed feature 1✴ Undisclosed feature 2✴ Undisclosed feature 3✴ Undisclosed feature 4✴ The automated tests can

contribute significantly to the project!

✴ Automation Test Plan is on its way…

System Coverage

Conclusion

Both technologies are capable of providing support for the development of a Test Automation Strategy for the SUT.

However, Protractor’s specificity for AngularJS and the use of Javascript as a pre-stablished programming language in the project makes it a more suitable approach to achieve better results.

–Anonymous

“Embarking on a successful automation test project is similar to embarking on a

successful software development project”

“I never make stupid mistakes. Only very, very clever ones. ”

–John Peel

Thank you!