CounterString icon

CounterString

Extension Actions

How to install Open in Chrome Web Store
CRX ID
keklpkmokeicakpclclkdmclhgkklmbd
Status
  • Live on Store
Description from extension meta

CounterString and text generation for Exploratory Testing

Image from store
CounterString
Description from store

A CounterString is a string of text e.g. `*3*5*7*9*12*15*` where:

- the string is a specific length e.g. 15
- the last character in the string is an *
- the numbers before each * are the position of the *

This can act as Test Data for helping test the length allowed in forms and other data fields. If the value is truncated then you can tell from the numbers and the '*' how long the string is e.g. `*3*5*7*9*12*15` is 14 characters long because the '*' after 15 is missing.

CounterStrings are commonly used in exploratory testing.

This extension is a simple CounterString generator, which:

- displays a dialog asking for the number of characters,
- then generates a CounterString of that length
- generated data can be copied directly to the clipboard (default)
- the CounterString is logged to the dev console to allow later copy and pasting,
- the extension can insert the CounterString into the value of the field that was selected when the right click context menu was displayed, the extension can also 'type' the values.
- this supports supports testing online forms.
- if a field has a maxlength, then this is used as the default for CounterString generation

NOTE: human copy and paste data triggers the browsers default input validation and behaviour. Generate and Type can bypass some validation rules, making this suitable for edge case testing.

Additional Features:

- generate and type random data generated from Regex
- generate and type ranges of characters
- generate and type repeated text, characters or regex generated data
- explore boundary chop ranges - useful for hunting down boundary length conditions

Instructions for use:

- right click on an input field
- choose Generate CounterString
- enter value of CounterString
- CounterString will be logged to the console (use dev tools to see it)
- CounterString will be inserted as the value of the WebElement you clicked on

You can also choose to 'type' CounterStrings - this will issue keydown and keyup events to type the string character by character.

Note:

- works with forms on the actual page
- this extension does not work with forms embedded in frames

This is open source and source can be found at GitHub:

- https://github.com/eviltester/counterstringjs

Latest reviews

Anonymous
thank you, eviltester!