helium- web automation made awesome!
TRANSCRIPT
![Page 1: Helium- web automation made awesome!](https://reader036.vdocuments.net/reader036/viewer/2022071707/55cd4ef1bb61ebe84b8b45d9/html5/thumbnails/1.jpg)
© 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!](https://reader036.vdocuments.net/reader036/viewer/2022071707/55cd4ef1bb61ebe84b8b45d9/html5/thumbnails/2.jpg)
© 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!](https://reader036.vdocuments.net/reader036/viewer/2022071707/55cd4ef1bb61ebe84b8b45d9/html5/thumbnails/3.jpg)
© 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!](https://reader036.vdocuments.net/reader036/viewer/2022071707/55cd4ef1bb61ebe84b8b45d9/html5/thumbnails/4.jpg)
© 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!](https://reader036.vdocuments.net/reader036/viewer/2022071707/55cd4ef1bb61ebe84b8b45d9/html5/thumbnails/5.jpg)
© 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!](https://reader036.vdocuments.net/reader036/viewer/2022071707/55cd4ef1bb61ebe84b8b45d9/html5/thumbnails/6.jpg)
© 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!](https://reader036.vdocuments.net/reader036/viewer/2022071707/55cd4ef1bb61ebe84b8b45d9/html5/thumbnails/7.jpg)
© 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