Pages

spanD v1.1

Short Description

The extension calculates how many days and hours are between two datetimes; or calculates the datetime in specified days and hours.

Perfect tool for exploratory web testing!

Download and Install

This extension is available for Chrome.
Install from Google Store Download source code from GitLab

Source Code and Issues

Source code and issue reporting is available at GitLab: https://gitlab.com/irina-ivanova-extensions/spanD

Description

Extension is build for software testers to calculate span or differences between two datetimes.

Useful tool for software testers or developers who need to test span between datetimes. For example, if software should automatically calculate next datetime in specified amount of dates.

Extension can be used completely without a mouse! Enter key calculates the span or the next date.

First publication of the extension - November 18, 2013.







Useful To Know

  • Format for date input is European DD.MM.YYYY (days first, not months)
  • Regexp for inserting datetimes:
    /([0,1,2,3]?[0-9])[\., \,, \-, \/]?([0,1,2][0-9])[\., \,, \-, \/]?([1,2][0-9][0-9][0-9])\s([0,1,2][0-9])[:, \., \,, \-]?([0,1,2,3,4,5][0-9])/
    So 31.02.2010, 31022010, 31/02/2010, 31-02-2010 will work.
  • Works with negative values! For example, add -1 days to 02.10.2013 will be 01.10.2013. Or span between 4.10.2010 and 1.10.2010 will be -3.

Hot Keys

  • [Enter] makes calculations
  • [Up Arrow] in the bottom block field sets focus on the upper block
  • [Up Arrow] in the upper section sets focus on the first line
  • [Down Arrow] in the upper block field sets focus on the bottom block
  • [Down Arrow] in the bottom section sets focus on the second line
  • [Left Arrow] sets focus on the left field (if there is one)
  • [Right Arrow] sets focus on the right field (if there is one)
  • [Tab] sets focus in further order:
    • start datetime
    • end datetime
    • to datetime
    • days
    • hours
    • minutes

Chrome Tip

You can configure hot-keys for extension in the Google Chrome:
  • open the extensions tab - chrome://extensions
  • link "Configure commands" at the bottom
  • choose an extension and type a shortcut
Now You can use it completely without a mouse!

Questions and Comments

Any questions or comments are welcome! You can write me an e-mail on iriiiina@gmail.com or leave a comment on this page.

Posts About spanD

April 12, 2014spanD v1.1
March 3, 2014spanD v1.0
January 3, 2014 Span Of Datetimes v0.4
December 3, 2013 Span Of Datetimes v0.3
November 20, 2013 Span Of Datetimes v0.2
November 18, 2013 Span Of Datetimes v0.1