Quick Start

Introduction

This quick start shows step by step how to prepare and execute very simple test script. It will be responsible for checking if specified folder exists on disk and if it contains files expected by us. Additionally to we will check if .NET Framework version 4.0 is installed. Remember that the intention of this short article is to show general concept and how to start with application. It presents only very small piece of ByteCarrot’s functionality and if you want to learn more about it, you should take a look at documentation.

Installing ByteCarrot

To begin, download installation package from http://bytecarrot.com/download. During installation follow steps described on download page. After the installation has completed, you should be ready to launch ByteCarrot. You can check if the application has been really installed by executing following command from a shell:

>> bytecarrot help execute

The output should be similar to the screenshot below.

Creating test script

Open your favorite text editor and follow steps described below:

  1. Create new text file
  2. Define root element of the script copying and pasting the snipped shown below
  3. <?xml version="1.0" encoding="utf-8"?>
    <TestScript xmlns="http://bytecarrot.com/schemas/ByteCarrot/1.0/TestScript">
      <!-- place for snippets from next steps -->
    </TestScript>
    
  4. asd
  5. lk
  6. Save the script you have created on disk

That is it! Now you are ready to execute it and review its results.

Executing test script

asd

Reviewing report

asd