8

Click here to load reader

Selenium Simplified WebDriver Webinar Using Java #2

Embed Size (px)

DESCRIPTION

Main topic covered in this webinar video is Page Objects: * Refactoring to Page Objects * What should be in a page object? * Demonstration of adhoc custom page objects * When to use domain objects versus page objects? * Discussion of Page Factory, Slow Loadable Component, Loadable Component This is the second in a series of webinars on WebDriver automation using Java. It is a companion to my online Udemy training courses. In this webinar series I do 'live' coding on a 'real' application and explain my thought processes as I go. I try to answer questions that the webinar participants post as I go through. * https://www.udemy.com/selenium-2-webdriver-basics-with-java/?couponCode=slideshare * https://www.udemy.com/start-using-selenium-webdriver-with-java I have uploaded the video for watch on demand. This is the meetingburner recording, not my local recording (which should be better quality but I haven't edited it yet). You can't see the chat window in the replay so you'll have to imagine what questions were asked during the webinar. And I do repeat some of them as I work through. This recording shows the 45 minutes of the Webinar, not the additional 15 minutes of questions after the webinar. Sign up to the webinar mailing list to learn about future webinars * http://seleniumsimplified.com/phplist/?p=subscribe&id=1 For general information on Selenium WebDriver and associated training or consultancy then visit http://www.seleniumsimplified.com

Citation preview

Page 1: Selenium Simplified WebDriver Webinar Using Java #2

Selenium Simplified WebDriver Webinar

Will Start SoonThere is some music playing now.

Can you hear it?

If you are the first to hear it then please leave a comment in chat so I know the mic works.

We will not offer support for sound issues when the webinar starts.

Page 2: Selenium Simplified WebDriver Webinar Using Java #2

Selenium Simplified WebDriver Webinar

22 / Feb/ 2013Alan Richardson

@eviltesterhttp://compendiumdev.co.ukhttp://seleniumsimplified.com

http://eviltester.com

Page 3: Selenium Simplified WebDriver Webinar Using Java #2

Basic Scope for this webinar series● Create a project● Using "Tracks" as AUT● Analyse the application under test live so you see the kind of things I look

for and how I use the built in browser tools to do this● Write code live to test the application● talk through the Java constructs as I do the coding but not go into great

detail● explain the decisions I make about the automation code I write and java

code I write● respond to questions in the chat window and try and answer them live as I

go● refactor code and explain decisions as I do so● move from writing a simple test and refactor it to page objects and domain

objects● refactor tests to harness JUnit functionality

Page 4: Selenium Simplified WebDriver Webinar Using Java #2

When is the next one?

Not sure yetSign up to the email list to stay up to date

● http://seleniumsimplified.com/join-our-mailing-list/

Recordings of this webinar will be available. I'll let you and the mailing list know.

Page 5: Selenium Simplified WebDriver Webinar Using Java #2

Links

● seleniumsimplified.com

● free basic setup WebDriver course○ http://seleniumsimplified.com/get-started/

● 18+ hour comprehensive WebDriver course● http://unow.be/at/webdriverapi

Page 6: Selenium Simplified WebDriver Webinar Using Java #2

Where we are up to:

● Source in:○ https://xp-dev.com/svn/webdriverwebinars/

● Previous Webinar○ http://www.youtube.com/watch?v=LOgSqUirGAU

● Last Time○ created the project○ analysed the login page○ created domain object for the TracksAccount○ created a basic test○ basic refactoring

Page 7: Selenium Simplified WebDriver Webinar Using Java #2

Today

● 30 - 40 mins of coding○ re-run tests○ refactor to page objects for login page○ refactor to additional domain objects

● I'll be around to answer chat questions for 20 mins at the end - these will not be released on youtube.

Page 8: Selenium Simplified WebDriver Webinar Using Java #2

Videos for this Webinar Series On Youtube Channel EvilTesterVideos

youtube.com/user/EviltesterVideos

This Webinar is Webinar #2

● webinar 1: http://youtu.be/LOgSqUirGAU● webinar 2: http://youtu.be/RkiSfkxbQV4