helium- web automation made awesome!

7
© Xebia IT Architects Pvt Ltd. 2014. Confidential: Not for Distribution. www.xebia.in Khyati Sehgal Test Consultant Web automation made awesome!

Upload: khyati-sehgal

Post on 14-Aug-2015

73 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Helium- web automation made awesome!

© Xebia IT Architects Pvt Ltd. 2014. Confidential: Not for Distribution. www.xebia.in

Khyati SehgalTest Consultant

Web automation made awesome!

Page 2: Helium- web automation made awesome!

© Xebia IT Architects Pvt Ltd. 2014. Confidential: Not for Distribution. www.xebia.in

Helium

Michael Herrmann helium launched Helium.

Offers commands as simple as English.Lightweight.Supports Java and Python.Supports tools like Eclipse.Gives full support to Sauce Labs and Selenium.

66% fewer lines of code 75% less effort using Helium than with Selenium alone.

Page 3: Helium- web automation made awesome!

© Xebia IT Architects Pvt Ltd. 2014. Confidential: Not for Distribution. www.xebia.in

Helium API

3

Helium is a library that makes web automation as simple as giving instructions to someone.

All you require is the to import helium API:import static com.heliumhq.API.*;

StartFirefox([url])StartChrome[url]startIE([url])

goTo(url)Drag(element, to) Write

(text [, into])press(key)

Click(element or point)

Doubleclick(element or point)

Page 4: Helium- web automation made awesome!

© Xebia IT Architects Pvt Ltd. 2014. Confidential: Not for Distribution. www.xebia.in

Why Helium over Selenium?

No need for

finding locators.

Minimal coding

Reduces complexity

of code by 50%.

No calling of

driver instance

Very simple commands

for complex functionalities

Page 5: Helium- web automation made awesome!

© Xebia IT Architects Pvt Ltd. 2014. Confidential: Not for Distribution. www.xebia.in

Simple Web Automation

startFirefox("gmail.com");write(emailAddress, into("Email"));write(password, into("Password"));CheckBox staySignedIn = CheckBox("Stay signed in");if (staySignedIn.isChecked()) { click(staySignedIn); }click("Sign in");

Page 6: Helium- web automation made awesome!

© Xebia IT Architects Pvt Ltd. 2014. Confidential: Not for Distribution. www.xebia.in

What are the excuses on which user can rely on while opting for Helium?

Paid tool

One need to add

14 jars in Class path

IE support

Page 7: Helium- web automation made awesome!

© Xebia IT Architects Pvt Ltd. 2014. Confidential: Not for Distribution. www.xebia.in

@KhyatiSehgal89http://in.linkedin.com/in/khyatisehgal

http://xebee.xebia.in/index.php/2014/06/28/fabricating-web-automation-more-classic-with-helium