Code

Boostnote for Code Snippets

After working with Katalon Studio for several months, I have a wealth of code snippets and examples. And with my collection growing each day, where to store them all for easy access? The most common examples are in TypeIt4Me, but the rest need a good storage place that is easily searchable.

There are quite a few code snippet tools available such as Quiver and Snippetslab, but I recently got hooked up with Boostnote and find it’s just what I’m looking for.

Boostnote is a Markdown editor with syntax highlighting for dozens of languages with Groovy, Java, HTML and CSS right there in the mix.

Code can be organized into different folders and each snippet can be tagged for further grouping and easier search. Each snippet can have multiple tabs, so examples, links and other pieces of information can be found under a single header. For example you can have getText and setText examples for Katalon and Selenium tied together.

Boostnote works with Dropbox, Google Drive and other sync tools. It’s available for Windows, macOS and even tablets. Like the Atom editor, it has dozens of UI and Editor theme choices.

Since it has Markdown, I’ve also built a dashboard note with links to Katalon articles, the support forum, documents on my local machine, tutorial videos and blog sites. Both the code and additional resource material is available in one location.

For my needs, Boostnote is a very capable and highly configurable tool that let’s me organize code snippets into categories and allows plenty of flexibility for writing and recalling the next block of code.

boostnote

Other articles of interest:

Recent Comments

  • How To Disable the Quicken Registration Prompt (21)
    • Susan Long: I bought my quicken disc in the beginning and it came with a registration number. I rang the helpline and they gave me the code to put in and talked me through it. It you downloaded your version then you don’t own it...
    • Peter: You might consider running your old version of Quicken on an ancient computer. This is what I have done for years. The newer versions are fraught with problems- criminal, in my opinion. One version made mathmatical errors when...
    • Roslyn Chamberlain: Can I stop the countdown in quicken 2001 says only 8 sessions left. and what will happen after?
  • What is Katalon Studio? A Distro of Selenium, Groovy and Eclipse (1)
    • Mahesh: Looking for more posts on katalon studio.your katalon stuffs are always exiting
  • Simple wildcard searches for pattern matching (2)
    • Don Pedro: For that scenario it seems .contains would be your choice. For example, variable.contains(‘amazo n.com’) to see if the url had amazon.com. In that case, www.amazon.com, forum.amazon.com, retail.amazon.com would all...
    • Jony: Hi, How can I use a wild card to assert a URL is the one I want. I just want to verify the domain ==expected but not anything after it. Tried * but not working and only works when I have full URL.
  • Create a Dynamic Object at Runtime (2)
    • Saish: How to add shadow root parent to this runtime object..
    • Jeremy Brien: I appreciate this! I saw this post on LinkedIn this morning and was able to find a use case for it! I found that defining my xpath with an iterable variable allows me to loop through and capture text from tables created...
  • Output status messages and test information by writing to the Log File Viewer in Katalon Studio (2)
    • Don Pedro: That would be things like: log.logWarning(‘The import date listed on the site is: ‘ + importDate) log.logWarning(‘The value from the site is: ‘ + salesFigure) log.logWarning(‘Filter Results for ‘ +...
    • Prashant Pednekar: Thanks for the informative article but can we also put some variable values to make it more exciting.
  • Setting up a repeatable Search Method in Katalon Studio (1)
    • RJ: Thanks a lot! This is very helpful 🙂
  • Filling forms with random numbers in Katalon Studio (3)
    • Patrick Clough: We created a handy random string generator custom keyword. The method takes in a string for the type of string you want, and an integer for the length. Looks like this: static String RANDOM_ALPHANUM =...
    • Don Pedro: randomNumber is the variable that holds the result of generating a new random number. Depending on how things work on your site, you might need to convert the number to a String before it’s recognized correctly....
    • Seth: When you are setting up randomNumber is this a new keyword or a new variable? I am trying to randomly generate unique socials and can’t seem to connect my generator to my Set Text.
  • Working with Dates and Date Formatting in Katalon Studio (5)
    • Ann: THANK YOU ! That worked perfectly !