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: simple

Useful type conversions

Some of our test data needs to be transformed from its original type to something else. For example, we might need to convert a String to a numeric value, or vice versa. Or we might need to generate date values in a certain format. Examples for all of these can be found below.

Posted onOctober 9, 2019September 22, 2019CategoriesautomationTagsautomation, code, conversion, date, double, format, integer, java, simple, string, testing, type, useful1 Comment

Top Posts & Pages

  • Selenium: How to correctly test whether an element is displayed (or not)
    Selenium: How to correctly test whether an element is displayed (or not)
  • 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: How to wait for an element to be displayed / not displayed
    Selenium: How to wait for an element to be displayed / not displayed
  • thewaiter: waiting for a URL in the browser to equal or contain a String, with Selenium
    thewaiter: waiting for a URL in the browser to equal or contain a String, with Selenium
  • thewaiter: opening a page and waiting for it to load with Selenium
    thewaiter: opening a page and waiting for it to load with Selenium
  • @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.
  • TestNG @Test attributes
    TestNG @Test attributes
  • Extracting substrings with StringUtils from the Apache library
    Extracting substrings with StringUtils from the Apache library
  • Bugs and reproducing them
    Bugs and reproducing them

Follow me on Twitter

My Tweets

Suggested Reading

  • Automated testing of translations by using property files
    Automated testing of translations by using property files
  • The Little Tester - Stories in Testing #28
    The Little Tester - Stories in Testing #28
  • The Little Tester - Stories in testing #0
    The Little Tester - Stories in testing #0
  • The Little Tester #55
    The Little Tester #55
  • The Little Tester - Stories in Testing #36
    The Little Tester - Stories in Testing #36
  • The Little Tester - Stories in Testing #18
    The Little Tester - Stories in Testing #18
  • The Little Tester - Stories in Testing #37
    The Little Tester - Stories in Testing #37
  • The Little Tester - Stories in Testing #5
    The Little Tester - Stories in Testing #5
  • The Little Tester - Stories in Testing #43
    The Little Tester - Stories in Testing #43
  • The Little Tester #70
    The Little Tester #70
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.