123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- <!DOCTYPE html>
- <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
- <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
- <head>
- <meta charset="utf-8">
-
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
- <title>Structure of baangt — baangt 1.1.1 documentation</title>
-
-
-
-
-
-
- <script type="text/javascript" src="_static/js/modernizr.min.js"></script>
-
-
- <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
- <script type="text/javascript" src="_static/jquery.js"></script>
- <script type="text/javascript" src="_static/underscore.js"></script>
- <script type="text/javascript" src="_static/doctools.js"></script>
- <script type="text/javascript" src="_static/language_data.js"></script>
-
- <script type="text/javascript" src="_static/js/theme.js"></script>
-
-
- <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
- <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
- <link rel="stylesheet" href="_static/theme_overrides.css" type="text/css" />
- <link rel="index" title="Index" href="genindex.html" />
- <link rel="search" title="Search" href="search.html" />
- <link rel="next" title="Parameters in Configuration files (globals)" href="ParametersConfigFile.html" />
- <link rel="prev" title="Jump-start into worry free production deployments" href="simpleExample.html" />
- </head>
- <body class="wy-body-for-nav">
-
- <div class="wy-grid-for-nav">
-
- <nav data-toggle="wy-nav-shift" class="wy-nav-side">
- <div class="wy-side-scroll">
- <div class="wy-side-nav-search" >
-
-
- <a href="index.html" class="icon icon-home"> baangt
-
-
- </a>
-
-
-
-
-
- <div role="search">
- <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
- <input type="text" name="q" placeholder="Search docs" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- </div>
-
- </div>
- <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
-
-
-
-
-
-
- <p class="caption"><span class="caption-text">Contents:</span></p>
- <ul class="current">
- <li class="toctree-l1"><a class="reference internal" href="Installation.html"> Installation</a></li>
- <li class="toctree-l1"><a class="reference internal" href="OverviewUsage.html"> Overview</a></li>
- <li class="toctree-l1"><a class="reference internal" href="simpleExample.html"> First Steps</a></li>
- <li class="toctree-l1 current"><a class="current reference internal" href="#"> Structure</a><ul>
- <li class="toctree-l2"><a class="reference internal" href="#teststep">TestStep</a></li>
- <li class="toctree-l2"><a class="reference internal" href="#teststepsequence">TestStepSequence</a></li>
- <li class="toctree-l2"><a class="reference internal" href="#testcase">TestCase</a></li>
- <li class="toctree-l2"><a class="reference internal" href="#testcasesequence">TestCaseSequence</a></li>
- <li class="toctree-l2"><a class="reference internal" href="#testrun">TestRun</a></li>
- </ul>
- </li>
- <li class="toctree-l1"><a class="reference internal" href="ParametersConfigFile.html"> Parameters</a></li>
- <li class="toctree-l1"><a class="reference internal" href="SimpleAPI.html"> First API Test</a></li>
- <li class="toctree-l1"><a class="reference internal" href="TestTypes.html"> Types of Tests</a></li>
- <li class="toctree-l1"><a class="reference internal" href="DataFile.html"> Data file</a></li>
- <li class="toctree-l1"><a class="reference internal" href="SaveResults2Database.html"> Results in Database</a></li>
- <li class="toctree-l1"><a class="reference internal" href="HistoryAndReasons.html"> History</a></li>
- <li class="toctree-l1"><a class="reference internal" href="contributors.html"> Contributions</a></li>
- <li class="toctree-l1"><a class="reference internal" href="changelog.html"> Changelog</a></li>
- <li class="toctree-l1"><a class="reference internal" href="PlannedFeatures.html"> Planned Features</a></li>
- <li class="toctree-l1"><a class="reference internal" href="BrowserDrivers.html"> Browser Drivers</a></li>
- <li class="toctree-l1"><a class="reference internal" href="Variables.html"> Variables</a></li>
- <li class="toctree-l1"><a class="reference internal" href="SendStatistics.html"> Results</a></li>
- <li class="toctree-l1"><a class="reference internal" href="Datagenerator.html">DataGenerator</a></li>
- <li class="toctree-l1"><a class="reference internal" href="Datagenerator.html#input-file">Input File</a></li>
- <li class="toctree-l1"><a class="reference internal" href="Datagenerator.html#data-type">Data Type</a></li>
- <li class="toctree-l1"><a class="reference internal" href="Datagenerator.html#all-data-types-format">All Data Types Format</a></li>
- <li class="toctree-l1"><a class="reference internal" href="Developer.html"> For Developers</a></li>
- <li class="toctree-l1"><a class="reference internal" href="baangt-Plugin.html">What is a baangt-plugin</a></li>
- <li class="toctree-l1"><a class="reference internal" href="baangt-Plugin.html#how-to-make-a-baangt-plugin">how to make a baangt-plugin</a></li>
- <li class="toctree-l1"><a class="reference internal" href="baangt-Plugin.html#how-the-baangt-plugin-work">how the baangt-plugin work</a></li>
- <li class="toctree-l1"><a class="reference internal" href="baangt-Plugin.html#how-to-replace-the-existing-plugin-by-your-own-one">how to replace the existing plugin by your own one</a></li>
- <li class="toctree-l1"><a class="reference internal" href="articles/Articles.html"> :subheader: Articles</a></li>
- <li class="toctree-l1"><a class="reference external" href="http://www.baangt.org"> Web</a></li>
- </ul>
- <p class="caption"><span class="caption-text">Autodocs:</span></p>
- <ul>
- <li class="toctree-l1"><a class="reference internal" href="docs/baangt.base.html">Autodocs</a></li>
- <li class="toctree-l1"><a class="reference internal" href="docs/modules.html">Modules</a></li>
- </ul>
-
-
- </div>
- </div>
- </nav>
- <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
-
- <nav class="wy-nav-top" aria-label="top navigation">
-
- <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
- <a href="index.html">baangt</a>
-
- </nav>
- <div class="wy-nav-content">
-
- <div class="rst-content">
-
-
- <div role="navigation" aria-label="breadcrumbs navigation">
- <ul class="wy-breadcrumbs">
-
- <li><a href="index.html">Docs</a> »</li>
-
- <li>Structure of baangt</li>
-
-
- <li class="wy-breadcrumbs-aside">
-
-
- <a href="_sources/Structure.rst.txt" rel="nofollow"> View page source</a>
-
-
- </li>
-
- </ul>
-
- <hr/>
- </div>
- <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
- <div itemprop="articleBody">
-
- <div class="section" id="structure-of-baangt">
- <h1>Structure of baangt<a class="headerlink" href="#structure-of-baangt" title="Permalink to this headline">¶</a></h1>
- <p>If you never used any test automation software before, these terms can be intimidating, but in reality it’s all very simple.</p>
- <p>We’ll start from the bottom to the top.</p>
- <div class="section" id="teststep">
- <h2>TestStep<a class="headerlink" href="#teststep" title="Permalink to this headline">¶</a></h2>
- <p>A teststep is a single activity, for instance clicking on a button or sending a <code class="docutils literal notranslate"><span class="pre">GET</span></code> request to an API. A teststep has
- a mandatory parameter <code class="docutils literal notranslate"><span class="pre">Activity</span></code>. All other parameters depend on the chosen activity, for instance for Activitiy GOTOURL
- you need only a value (the URL where the browser should go to).</p>
- <p>For SetText you need a locatorType, the locator (which input field to send the text to) and the text itself.</p>
- <p>A teststep may have a timeout setting. If none given, system default will be considered.</p>
- </div>
- <div class="section" id="teststepsequence">
- <h2>TestStepSequence<a class="headerlink" href="#teststepsequence" title="Permalink to this headline">¶</a></h2>
- <p>Many Teststeps together are a TestStepSequence. The Sequence just defines, in which order each individual TestStep is
- executed. A TestStepSequence will provide timing information in the test report (Start- and End-Timestamps and
- Duration in Seconds)</p>
- </div>
- <div class="section" id="testcase">
- <h2>TestCase<a class="headerlink" href="#testcase" title="Permalink to this headline">¶</a></h2>
- <p>A Testcase is a Sequence of TestStepSequences. You might wonder, why this additional TestStepSequence is needed, why not
- simply write the TestSteps directly into the TestCase.</p>
- <p>First of all: you don’t need the TestStepSequence. In the simple XLSX-Format this grouping area doesn’t exist.
- Second: Imagine you have a login-page, a product bucket, product return functionality and invoice reprint functionality in
- your SPA and you want to test all of them. Obviously you’ll have at least 3 Testcases, but in all of them you’ll have to
- do a login. You can use the TestStepSequence to extract this repeated Sequence.</p>
- <p>In a Testcase we define not only the Sequence of TestStepSequences but also which type of Testcase (Browser, API, etc.)
- this is.</p>
- </div>
- <div class="section" id="testcasesequence">
- <h2>TestCaseSequence<a class="headerlink" href="#testcasesequence" title="Permalink to this headline">¶</a></h2>
- <blockquote>
- <div><p>Oh no, another level of confusion?!</p>
- </div></blockquote>
- <p>One or many TestCases can be grouped into a TestcaseSequence. The TestCaseSequence holds the
- connection to the datafile(s) to be used and which records to process in this TestRun. In a TestCaseSequence you could
- for instance group together the execution of a WEB-Page TestCase and subsequently the execution of an API-Call to retrieve
- results from another system. This scenario is of course mostly for corporate system landscapes, where the frontend (Web) communicates
- more or less asynchronous with backend components like Hosts, CRM-Systems, SAP-Backends and so on.</p>
- <p>By all means if you don’t need it: don’t use it. But in case you need it, it’s good to know it’s there.</p>
- </div>
- <div class="section" id="testrun">
- <h2>TestRun<a class="headerlink" href="#testrun" title="Permalink to this headline">¶</a></h2>
- <p>You guessed it by now. A TestRun as the highest level is a sequence of TestCaseSequences. Why would you need another level of grouping here?</p>
- <p>In End-2-End-Tests or Lifecycle tests you’d want to test the whole system’s functionality along a value stream:</p>
- <ul class="simple">
- <li><p>Create Partner in CRM-System</p></li>
- <li><p>Use Partner for a Contract</p></li>
- <li><p>Deliver Contract</p></li>
- <li><p>Invoice Contract</p></li>
- <li><p>Dunn invoice</p></li>
- <li><p>Post Payment</p></li>
- <li><p>Close contract</p></li>
- <li><p>Flag all Documents for archiving</p></li>
- <li><p>Archive all documents</p></li>
- </ul>
- <p>Each item of this list would be a TestCaseSequence with 1 to many testcases included, various systems, various Web-, API
- and other Interfaces within each TestCase.</p>
- <p>Again: If you don’t need it, just don’t use it. Every parameter has a default value assigned, so <code class="docutils literal notranslate"><span class="pre">baangt</span></code> will work
- perfectly without you touching things you don’t need.</p>
- </div>
- </div>
- </div>
-
- </div>
- <footer>
-
- <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
-
- <a href="ParametersConfigFile.html" class="btn btn-neutral float-right" title="Parameters in Configuration files (globals)" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
-
-
- <a href="simpleExample.html" class="btn btn-neutral float-left" title="Jump-start into worry free production deployments" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
-
- </div>
-
- <hr/>
- <div role="contentinfo">
- <p>
- © Copyright 2020, Bernhard Buhl
- </p>
- </div>
- Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
- </footer>
- </div>
- </div>
- </section>
- </div>
-
- <script type="text/javascript">
- jQuery(function () {
- SphinxRtdTheme.Navigation.enable(true);
- });
- </script>
-
-
-
-
- </body>
- </html>
|