TestResults.io
  • What is TestResults.io
  • System Architecture
  • Regulated Markets
    • Health Care Industry
    • Financial Services Industry
  • What's new?
    • Update Instruction
      • Update of the Designer extension in Visual Studio
      • Update the Execution Engine
      • Update the Base- and Environment Models
    • Migration to new project file
  • Designer
    • Overview
    • First Steps
    • Installation
    • TestResults.io solution
    • The development environment
      • Tool Window Overview
        • Test Environments
          • Steps to configure a SUT VM
          • How to access files on the system under test
        • Remote Viewer
          • Control Mode
          • Capture Mode
          • Screen Editor
          • Capture Single Image
        • Screen Explorer
        • Test Case Designer
        • Image Explorer
        • API Testing
        • TestResults.io options
          • Engines
          • Servers
    • Test Cases
      • Adding Test Cases
      • Test Case structure
      • Simple Test Case (Example)
      • Executing your Test Case
      • Generating Test Containers
      • Publishing Test Cases
      • Execution Variables
    • Software Models
      • Adding SW Models
      • Referencing the Model in the Test Case
      • Generating Test Containers
      • Publishing SW Models
      • Screens and Screen Elements
        • Tables
        • Visual Sense
        • Custom Screen Elements
    • Installers
      • Adding Installers
      • Generating Test Containers
      • Publishing Installers
    • Automation Framework Reference
      • Attributes
      • Enumerations
      • Filters
        • IImageFilter Interface
        • Select
        • Resize
      • GlobalEngineParameters
      • ImageDetectionParameters
      • ImageReference
      • Interfaces
        • ITester Interface
          • ITester Methods
          • ITester Properties
        • ITestee Interface
          • ITestee Methods
        • IConnections Interface
          • IConnections Methods
          • IConnections Properties
        • IDebug Interface
        • IEngineResult
        • IHelpers Interface
        • IImageHelper Interface
          • IImageHelper Methods
        • IKeyboard Interface
          • IKeyboard Methods
        • IMouse Interface
          • IMouse Methods
          • IMouse Properties
        • IReport Interface
          • IReport Methods
        • ISUTConnection Interface
      • OcrEngineParameters
        • Best practise
        • IronOcrEngineParameters
        • LEADOcrEngineParameters
        • OcrEngineRelatedCharacters
        • OcrPreprocessingParameters
      • ResultRectangle
      • SutNotReadyException
      • TestStepAbortedException
    • FAQ
      • Two-factor authentication (2FA) and One Time Passwords (OTP)
      • Receive and verify Emails
      • Using Excel as test data source
      • Verify PDF Content
  • Portal
    • Overview
    • First Steps
    • User's Guide
      • Login
      • Projects
      • Dashboard
      • Test Cases
      • Software & Environments
      • Test Sets
      • Job Queue
      • Management
      • Notifications Summary
    • Automation Engineer's Guide
      • Test Automation Workflow
      • Automating a test case
      • Enabling Software & Environments
    • REST API Reference
      • Authentication
      • Projects
      • Test Sets
      • Test Cases
      • Test Plans
      • Test Reports
      • Files
      • Software
      • Environments
      • Untitled
      • Executions
      • Favorites
      • Statistics
      • User Management
      • Customer Management
      • Notifications
      • Configurations
      • Invoicing
  • Models
    • Overview
    • Base Model
      • BaseScreen
        • BaseScreen Properties
        • BaseScreen Methods
      • OnScreenElement
        • OnScreenElement Methods
        • OnScreenElement Properties
      • Primitives
        • Button
          • Button Methods
          • Button Properties
        • Checkbox
          • Checkbox Methods
        • ContextMenu
          • ContextMenu Methods
          • ContextMenu Properties
        • Dropdown
          • Dropdown Methods
          • Dropdown Properties
        • DropdownMenu
          • DropdownMenu Methods
          • DropdownMenu Properties
        • GenericScroller
          • GenericScroller Methods
          • GenericScroller Properties
        • HorizontalScroller
        • IconButton
          • IconButton Properties
        • Label
        • LabelWithButton
          • LabelWithButton Properties
        • LabelWithCheckbox
          • LabelWithCheckbox Properties
        • LabelWithValue
          • LabelWithValue Methods
          • LabelWithValue Properties
        • PwTextBox
          • PwTextBox Methods
        • TextBox
          • TextBox Methods
          • TextBox Properties
        • Tables and lists
          • Column
            • Column Methods
            • Column Properties
          • ItemList
            • ItemList Methods
            • ItemList Properties
          • Row
            • Row Methods
            • Row Properties
          • TableBase
            • TableBase Methods
            • TableBase Properties
        • LabelWithElementBase
          • LabelWithElementBase Properties
      • Enumerations
      • Extensions
        • EngineResultExtensions Methods
        • EnumExtensions Methods
        • ReportExtensions Methods
        • StringExtensions Methods
        • TesterConnectionExtensions Methods
        • TesterDebugExtensions Methods
        • TesterHelperExtensions Methods
        • TesterMouseExtensions Methods
        • TesterOnScreenElementExtensions
        • TesterSelectExtensions Methods
      • Helper Classes
        • BaseModelHelpers
          • BaseModelHelpers Methods
          • BaseModelHelpers Properties
        • Attributes for Designer
        • ListHelpers
      • Exceptions
        • ElementNotFoundException
        • InteractionFailedException
        • ScreenNotFoundException
      • Interfaces
        • IAppBasics Interface
          • IAppBasics Methods
          • IAppBasics Properties
        • IBrowser
        • ICommandLineWindow
        • IScroller Interface
          • IScroller Methods
          • IScroller Properties
        • ISutLocale Interface
          • ISutLocale Methods
          • ISutLocale Properties
        • ISystemHelpers
        • ISystemInteractions
        • IWindow
    • Environment Model
      • Windows
        • Screens
          • CmdWindow
            • CmdWindow Methods
            • CmdWindow Properties
          • FileDialog
            • FileDialog Methods
            • FileDialog Properties
          • FileExplorer
            • FileExplorer Properties
          • RunWindow
            • RunWindow Methods
            • RunWindow Properties
          • Window
            • Window Methods
            • Window Properties
        • SutLocale
          • SutLocale Methods
          • SutLocale Properties
        • SystemHelpers
          • SystemHelpers Methods
          • SystemHelpers Properties
        • SystemInteractions
        • WebBrowser
          • Browser
            • Browser Methods
            • Browser Properties
          • BrowserScroller
            • BrowserScroller Methods
            • BrowserScroller Properties
          • AuthenticationDialog
            • AuthenticationDialog Methods
            • AuthenticationDialog Properties
          • DownloadDialog
            • DownloadDialog Methods
            • DownloadDialog Properties
        • EnvironmentModel Enumerations
        • Interfaces
          • IWebAppBasics
            • IWebAppBasics Property
Powered by GitBook
On this page
  • Step 1 - Download Visual Studio and TestResults.io Designer
  • Step 2 - Create a TestResults.io solution
  • Step 3 - Create an account
  • Step 4 - Select the Project you will work with
  • Step 5 - Connect to Test Environment
  • Step 6 - Add your first screen
  • Step 7 - Modify the test case
  • Step 8 - Run the test case
  • Step 9 - Publish your test case container

Was this helpful?

  1. Designer

First Steps

A short, 25 minutes guide to your first test case in TestResults.io Designer.

PreviousOverviewNextInstallation

Last updated 8 months ago

Was this helpful?

This is a direct continuation of the The section below shows you how to create and publish a test case in the TestResults.io designer.

Keep in mind - this chapter only shows a brief summary of how to work with the Designer. For more details refer to the and the following chapters

Step 1 - Download Visual Studio and TestResults.io Designer

  • Follow our which will set you up with everything you need.

Step 2 - Create a TestResults.io solution

  • From the Visual Studio startup screen select Create a new project, or if Visual Studio is already open select "File" --> "New" --> "Project"

  • In the Create new project dialog type in TestSolution in the search field

  • Select TestResults.io solution and press the Next button

  • Enter the Project name and press Create

Step 3 - Create an account

  • If you already have a TestResults.io account, select the Existing User button and follow the instructions on the screen

  • If you are a new user without a TestResults.io account, follow the instructions on the screen

Step 4 - Select the Project you will work with

If you have already created a Project on the Portal, you can select it here. If not create a new Project, Software version or Test case right here.

  • The Project name is usually the name of the software that you want to test. Same with the name for the Software version.

  • Name the Testcase like the process you want to test, like "Login," "User settings", "Customer Search" etc.

Step 5 - Connect to Test Environment

  • From the Extensions--> TestResults.io menu select the Test Environments tab.

Step 6 - Add your first screen

  • Activate the Screen Editor by switching the Control Mode to "Off"

  • Enter "MyFirstScreen" as the screen name and select Screens in screen location

  • Click the arrow for the Screen loaded image and mark a rectangle around the "Static Test Image" text in the test environment.

  • Select Save Image on the right side of the Remote Viewer.

  • Click Add element and select Button.

  • Mark another rectangle around the click area (indicated by the large mouse cursor) in the Remote Viewer.

  • Enter "MyFirstButton" as the name of the selected element.

  • Click Add Buttons and then Generate Screen.

Step 7 - Modify the test case

  • In the Solution Explorer, open the class representing the test case (if your test case is "001 - My Test Case", the test case class is called "My_Test_Case.cs" in project TC001_Rev1).

  • Replace the contents of the test step 1 method as follows:

[TestStep(1,
   TestInput = "First Test input",
   ExpectedResults = "First Expected Result")]
public void Step1(ITester t)
{
   App.MyFirstScreen.Activate();
   App.MyFirstScreen.MyFirstButton.Click(App.MyFirstScreen.WaitForDisappear);

   t.Report.PassStep("Click was successful");
 }
  • Delete the PreconditionStep, CleanupStep and TearDown for now. Your TestCase should now look like this, with small changes depending on the name of your test case and software model:

using Progile.ATE.TestFramework;
using MySoftware_Model;

namespace TC001_Rev1
{
    [TestCase(1)]
    public class MyTestCase
    {
        private MySoftwareApp App { get; set; }

        [SetupTest]
        public bool Setup(ITester t)
        {
            App = new MySoftwareApp(t);
            return true;
        }

        [TestStep(1,
            TestInput = "TestInput1",
            ExpectedResults = "Expected1")]
        public void Step1(ITester t)
        {
            App.MyFirstScreen.Activate();
            App.MyFirstScreen.MyFirstButton.Click(App.MyFirstScreen.WaitForDisappear);

            t.Report.PassStep("Click was successful");
        }
    }
}

Step 8 - Run the test case

  • Press the F5 button

  • Observe the execution of the test case (clicking on the selected control) in the Remote Viewer

Step 9 - Publish your test case container

  • Open the Solution Explorer

  • Right click on the solution (top entry)

  • From the TestResults.io context menu select the Publish All option

Your test case has been published to the TestResults.io server and is now available for execution in the TestResults.io portal.

Double click on the "Static Image" test environment to connect to it. For this demo test case we use a static image to automate. Read the to test your actual environment and applications.

guide about Test Environments
First Steps with the TestResults.io portal chapter.
TestResults.io solution
Installation guide