Skip to main content

Posts

Showing posts with the label WebDriver Training

Intellij IDEA Hack 2

 Next training session video of IDEA Hack is live. This session covers - Presentation assistant plugin Double shift > search any where  Search class name using first letters     Go to specific line on file i.e. filename:linenumber Searching folders i.e. /resources Recent files > cmd+E Project pane > cmd+1 Creating new file/package etc > cmd/ctrl + N Auto scroll from source Move one or multiple lines without cut and paste select + option + shift + arrow up/down Turn off presentation assistant plugin First IDEA Hack session: https://www.seleniumtests.com/2021/02/selenium-idea-hacks.html  

Java 8 part 7: Back to basics and Selenium WebDriver

This training session video covers - PECS > Producer extends Consumer super Remember Generics which provide type safety?: https://www.seleniumtests.com/p/java-training-tutorial-videos.html What are “extends”, “super” and bounded wild card? <? extends T> and <? super T> WTF ??? PECS on Jav8 > Stream examples - forEach(Consumer<? super T> action) map(Function<? super T, ? extends R> mapper) example from com.seleniumtests.tests.web.SeleniumWithJava8Session6#usingJava8

Java 8 part 6: Stream cont. and Selenium WebDriver

 Next java 8 and Selenium WebDriver training session video is live and covers - Different ways of creating Stream empty stream, stream of collection, stream of string objects, stream builder, stream generate method with limit and iterate Stream of primitives int, long and double streams using IntStream, LongStream, DoubleStream interfaces Stream of File Streams can not be reused How to eliminate expensive operations And what is parallel stream?? And some WebDriver examples  

Java 8 part 5: IntStream, sum, avg, reduce, file reading operations and SeleniumWebDriver

 Next java8 and Selenium training session video is live and covers - Method implementation on interface with java 8 - static and default methods, wtf?? IntStream.range() More Stream operations -     sum, sort, average And how do I add double numbers? Reading from file Collectors.toMap Where are the WebDriver examples??

Java 8 part 4: Optional and Selenium WebDriver

 This training session video covers - Java 8 part 4: Optional and Selenium WebDriver (yes learning Optional is not optional :)) Why Optional > What happen when data is null Optional > an object which may or may not contain non null values (some prefer to call it empty value) Do you remember where we used Optional?  :) com.seleniumtests.java8.ListExamples class > findFirst() Creating Optional using - of, ofNullable, orElse  WebDriver examples with Optional >     Testing with different data sets i.e. lower and upper case Default locale

Java 8 part 2: Stream filter operations and Selenium WebDriver

This training session video covers - List operations in java 8 Using stream with List Filter stream FindFirst Intro to method references Intermediate operations (i.e. filter, map) Terminal operation (forEach, findFirst, reduce, collect) WebDriver and list examples using java 8 What are you waiting for? Head over to training session video :)

Java 8 Intro and sneak peak into selenium using java 8

I finally started creating training video sessions on java 8 and selenium. This training session video deals with - Why is java 8 so popular? I do not "java" yet : -/ What is FunctionalInterface? Functional programming and Lambda Interface having method with no argument Interface having method with one argument What if AnimalHavingMethodArgument has two abstract methods? And what next? > Future training videos sneak peak using java 8 and selenium? What are you waiting for? Head over to training session video :) 

Introducing Navigation API for WebDriver tests

If you are working with selenium then probably you have used Page Object  to make your tests more maintainable. In a gist, Page Object extracts the business logic away from test hence any future change in application would affect only one place - Page Object. When using page object we end up writing page / element level APIs which represent services offered by page. These APIs could be chained together to result in an array of operations, like - Here in various page level methods are chained together to reach TeamsAndUsersPage (or any other page object). But this may not be only instance when you need to reach TeamsAndUserPage. Hence you would end up repeating/duplicating these operation through out your test methods.  This is when we can create navigation package and add navigation class to facilitate navigation - Also if you find that navigation is common in all test methods then you can add navigation as setup in test class - What do you think of this appro...

8th Selenium Training Video - Jenkins Marries Selenium

I have uploaded 8th Selenium Training Videos on my You Tube Channel. This session covers - Introduction to jenkins Download and Install jenkins Set up free style project to find version of java Set up Selenium project for jenkins (Sample project from 7th Selenium training session ) -

Selenium Training video for 12th December Session

7h Selenium Training session was conducted on 12th December. There were more than 100 registration and about 40 selenium enthusiasts participated in live training. Following topics were covered in training - Soft assertion in Selenium Test (continuing test execution of method even if one assert fails) Data driven testing using csv files and analyzing test data in TestNG Report Using Selenium Grid to scale your selenium tests Training video is available on YouTube . Selenium Project  is available for download as well. Please post session related questions in forum

Selenium Training Meet on 12th Dec

Guys, I have set up next Selenium Training Meet on 12th December. Following topics would be covered in Selenium Training Meet - Soft assertion in Test (continuing test execution of method even if one assert fails) Using csv file for test data Using Selenium Grid to scale selenium tests I have deferred android automation for next meet. Registration Form is open for sign ups

Selenium Training Video for Dec 2nd Session

We conducted 6th Selenium Training meet on December 2nd. There were about 400 registration and about 45 selenium enthusiasts participated in live training. Following topics were covered in training - Page Factory Pattern Data externalization using properties files Capture application screen shot  only  during test failure (TestNG + Selenium) Introduction to Maven and mavenizing your Selenium project Training video can be accessed from Selenium Training page. Selenium Maven Project  used during training is also available for download. A big thanks to anymeeting.com for providing great resources in conducting this meet.