Where can I get help using Groovy with Cycle?

Where can I get help using Groovy with Cycle?

Cycle now includes steps to execute simple Groovy statements inline as well as execute complex Groovy scripts. 

The 2 Cycle steps that execute Groovy are: 

I execute Groovy "<GROOVY_STATEMENTS>"
I execute Groovy script "<GROOVY_SCRIPT_FILE>"

Creating Groovy scripts can be challenging and take a little practice. We are building the Knowledge Base to include commonly used Groovy functions withing Cycle.

If you don’t find a Knowledge Base article for what you are trying to accomplish, here are a few places to look for Groovy help.

Apache Groovy

Contains extensive information including downloads, tutorials, Classes and Methods, guides and documentation

http://groovy-lang.org/

 

Stack Overflow

Popular user forum to search for answers to specific technical questions. More than likely you will find someone else has asked what you need to know and there is already a solution.

https://stackoverflow.com/

Disclaimer: This is a forum so use the suggestions here with caution. Tryon is not responsible for anything on this site.

 

JetBrains IntelliJ IDEA Community Edition

Open source IDE to develop and test Groovy script files before using them in Cycle. Unlike with Cycle you will need to Groovy installed locally to use. This is one of many IDE options.

https://www.jetbrains.com/idea/download/

    • Related Articles

    • How to use Groovy to work with Dates and Times

      Problem Cycle does not include steps to access and work with Date and Time. Solution Cycle now includes steps to execute simple Groovy statements as well as execute complex Groovy scripts.  The 2 Cycle steps that execute Groovy are:  I execute Groovy ...
    • How to use Groovy to work with Strings

      Problem Other than concatenate Cycle does not include steps to work with strings. Solution Cycle now includes steps to execute simple Groovy statements inline as well as execute complex Groovy scripts.  The 2 Cycle steps that execute Groovy are:  I ...
    • How to perform basic math in Cycle using Groovy

      Problem Cycle can increment variable values but does not include steps for simple math Solution Cycle now includes steps to execute simple Groovy statements inline as well as execute complex Groovy scripts.  The 2 Cycle steps that execute Groovy ...
    • How to create methods in Groovy and call from Cycle

      Cycle includes a step to execute Groovy scripts.  I execute Groovy script "<GROOVY_SCRIPT_FILE>" Groovy scripts can be constructed to perform multiple functions in a single file by creating user defined methods.  Cycle variables can be used to ...
    • How to use Groovy to return values in XML strings

      Problem It may be necessary to return values from XML strings in your automated tests.  This article provides examples for common ways to use the Groovy programming language to output XML information. Solution Cycle includes steps to execute simple ...