Skip to content
  • My Tutorials and Talks
  • The Little Tester comics
  • Twitter
  • Github
  • Flickr

imalittletester

Testing. With Java, Selenium, TestNG, Maven, Spring, IntelliJ and friends.

  • Home
  • automation
  • selenium
  • Selenium Testing Tutorials
  • The Waiter library

Tag: unique

Removing duplicates from a List

When working with lists, sometimes you only want them to contain distinct elements. There are two options to create lists without duplicates: either to not add these from the start, or, if that is not possible or too difficult, to remove the duplicates from the list later on. Let’s see how you can do both… Read More

Posted onOctober 31, 2019October 31, 2019CategoriesautomationTagsautomation, items, java, list, remove, stream, testing, unique2 Comments

Top Posts & Pages

  • @FindBy, Lists and using them to check for similar UI elements
    @FindBy, Lists and using them to check for similar UI elements
  • thewaiter: wait for WebElement attribute. To equal, contain a String, with variations.
    thewaiter: wait for WebElement attribute. To equal, contain a String, with variations.
  • Iframes, switchTo() and default content with Selenium
    Iframes, switchTo() and default content with Selenium
  • Selenium: How to correctly test whether an element is displayed (or not)
    Selenium: How to correctly test whether an element is displayed (or not)
  • Working with user prompts in Selenium
    Working with user prompts in Selenium
  • Selenium: How to wait for an element to be displayed / not displayed
    Selenium: How to wait for an element to be displayed / not displayed
  • Extracting substrings with StringUtils from the Apache library
    Extracting substrings with StringUtils from the Apache library
  • Removing all digits, non-digits, whitespaces (from Strings) and other usages of replaceAll
    Removing all digits, non-digits, whitespaces (from Strings) and other usages of replaceAll
  • Selenium Testing Tutorials
    Selenium Testing Tutorials
  • Using HashMaps in automated tests
    Using HashMaps in automated tests

Follow me on Twitter

My Tweets

Suggested Reading

  • My series of Maven related articles is out now
    My series of Maven related articles is out now
  • The Little Tester - Almost season 4
    The Little Tester - Almost season 4
  • The Little Tester #148
    The Little Tester #148
  • The Little Tester #147
    The Little Tester #147
  • The Little Tester #124
    The Little Tester #124
  • Automated testing of translations by using property files
    Automated testing of translations by using property files
  • The Little Tester #105
    The Little Tester #105
  • The Little Tester #159
    The Little Tester #159
  • The Little Tester #153
    The Little Tester #153
  • The Little Tester #149
    The Little Tester #149
Follow imalittletester on WordPress.com

RSS Feed

  • RSS - Posts
  • RSS - Comments

Flickr Photos

Pisoaia Waterfall, RomaniaPisoaia Waterfall, RomaniaPisoaia Waterfall, RomaniaPisoaia Waterfall, RomaniaPisoaia Waterfall, RomaniaPisoaia Waterfall, RomaniaPisoaia Waterfall, RomaniaPisoaia Waterfall, RomaniaPisoaia Waterfall, RomaniaPisoaia Waterfall, Romania
More Photos
Blog at WordPress.com.
  • Follow Following
    • imalittletester
    • Join 2,664 other followers
    • Already have a WordPress.com account? Log in now.
    • imalittletester
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar