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

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

  • @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
  • Using HashMaps in automated tests
    Using HashMaps in automated tests
  • Selenium Testing Tutorials
    Selenium Testing Tutorials
  • 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
  • Extracting substrings with StringUtils from the Apache library
    Extracting substrings with StringUtils from the Apache library

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