Studio Fundamentals Userguide Table of Contents Ranorex Studio Fundamentals
Total Page:16
File Type:pdf, Size:1020Kb
RANOREX STUDIO FUNDAMENTALS USERGUIDE TABLE OF CONTENTS RANOREX STUDIO FUNDAMENTALS ....................................................................................... 4 RANORIZE YOURSELF IN 20 MINUTES .................................................................................................... 5 Download and install Ranorex Studio ..................................................................................... 5 Plan your first test ................................................................................................................... 8 Create a new solution ........................................................................................................... 10 Record your first test ............................................................................................................. 13 Analyze your recording ......................................................................................................... 18 Run a test and check the report ............................................................................................ 20 RANOREX STUDIO .......................................................................................................................... 23 Ranorex Studio start page .................................................................................................... 29 Sample solutions ................................................................................................................... 33 Create a new solution ........................................................................................................... 34 Create a new project ............................................................................................................. 41 Working environment and views .......................................................................................... 46 RANOREX RECORDER ...................................................................................................................... 51 Stand-alone Recorder ............................................................................................................ 51 Before you start recording .................................................................................................... 52 Record a test ......................................................................................................................... 58 Analyze a recording ............................................................................................................... 63 Run and debug recordings .................................................................................................... 69 Manage recording modules .................................................................................................. 79 Recorder control center & hotkeys ....................................................................................... 85 TEST SUITE .................................................................................................................................... 92 The test suite structure ......................................................................................................... 96 Build a test .......................................................................................................................... 104 Execute a test suite ............................................................................................................. 113 Manage multiple test suites ............................................................................................... 124 ACTIONS ..................................................................................................................................... 133 Actions and repository items .............................................................................................. 135 Manage actions .................................................................................................................. 138 All actions and their properties ........................................................................................... 146 Invoke actions ..................................................................................................................... 170 User code actions ................................................................................................................ 173 REPOSITORY ................................................................................................................................ 181 Repository items and actions .............................................................................................. 186 Create repository items ....................................................................................................... 187 Manage repository items .................................................................................................... 189 Structure repository items .................................................................................................. 198 Clean up the repository ....................................................................................................... 205 Represent multiple elements with a single repository item ............................................... 206 Manage multiple repositories ............................................................................................. 211 Embed a repository ............................................................................................................. 215 TEST VALIDATION ......................................................................................................................... 217 Understanding validation ................................................................................................... 217 Text-based validation example ........................................................................................... 225 Attribute-based validation example ................................................................................... 231 Image-based validation example ........................................................................................ 239 Validation of tooltips ........................................................................................................... 246 WHITELISTING ............................................................................................................................. 251 Editing your whitelist .......................................................................................................... 251 RANOREX COACH ......................................................................................................................... 254 REPORTING ................................................................................................................................. 260 Actions and the report ........................................................................................................ 261 Report levels ........................................................................................................................ 266 Ranorex standard reporting ................................................................................................ 271 Customization basics ........................................................................................................... 285 Complex report customization ............................................................................................ 308 Convert existing reports to PDF .......................................................................................... 319 Ranorex Studio fundamentals This section describes the tools and concepts you need to start automating basic tests in Ranorex Studio. Each topic includes easy-to-follow step-by-step guides and self-contained examples so that you can gain hands-on experience immediately. If you enjoy learning from a written tutorial, we recommend starting with ⇢ Ranorize yourself in 20 minutes to get a feel for Ranorex Studio while producing your first test. If you prefer learning from a video tutorial, we recommend watching the Ranorex Studio Quick Start screencast series. Ranorize yourself in 20 minutes Ranorex Studio Actions Ranorex Recorder Repository Test Suite Test Validation Whitelisting Reporting Ranorize yourself in 20 minutes Welcome to Ranorize yourself in 20 minutes! In this guide, you’ll take your first steps with Ranorex Studio and will become familiar with some of its basic functions. You’ll accomplish this by creating your first automated software test in 6 simple steps. 20 minutes and a working computer is all you’ll need. We’ll cover everything else as we go along. Download and install Ranorex Studio Screencast The screencast “Download and Install Ranorex Studio” walks you through the information found in this chapter. Watch the screencast now Instructions 1. Go to /free-trial/ and follow the instructions to download a free trial of Ranorex Studio. 2. Once downloaded, run the setup file and follow the instructions in the Installation Wizard. To ensure complete installation, do not deselect any features in this dialog: Select and insert a valid license key if you already purchased one. Select if you want to use Ranorex Studio up to 30 days in trial mode. 3. Once finished, Ranorex Studio launches to the start page and displays the RocketStart solution wizard. Note If the RocketStart solution wizard does not appear, you can bring it