| <!DOCTYPE html> |
| <head> |
| <title>RCPTT Documentation Center</title> |
| <meta charset="UTF-8"> |
| <link rel="stylesheet" href="https://www.eclipse.org/rcptt/shared/css/bootstrap.min.css"> |
| <link rel="stylesheet" href="https://www.eclipse.org/rcptt/shared/css/main.css"> |
| <link rel="stylesheet" href="https://www.eclipse.org/rcptt/shared/css/prism.css"> |
| <link rel="icon" href="https://www.eclipse.org/rcptt/shared/img/favicon.ico"> |
| <script src="https://www.eclipse.org/rcptt/shared/js/jquery.min.js"></script> |
| <script src="https://www.eclipse.org/rcptt/shared/js/bootstrap.min.js"></script> |
| <script src="https://www.eclipse.org/rcptt/shared/js/prism.js"></script> |
| <script src="https://www.eclipse.org/rcptt/shared/js/ecl.js"></script> |
| <script> |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
| |
| ga('create', 'UA-39589807-5', 'eclipse.org'); |
| ga('send', 'pageview'); |
| </script> |
| </head> |
| <body> |
| <div id="before-footer"> |
| <header> |
| <nav class="navbar navbar-default navbar-static-top" role="navigation"> |
| <div class="container"> |
| |
| <div class="navbar-header"> |
| <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> |
| <span class="sr-only">Toggle navigation</span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| </button> |
| <span class="navbar-brand">RCPTT Documentation Center</span> |
| </div> |
| <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> |
| <ul class="nav navbar-nav"> |
| <li class="active" > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/getstarted">User Guide</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/faq/">FAQ</a> |
| </li> |
| <li> |
| <a href="http://eclipse.org/rcptt">Back to RCPTT Main Site</a> |
| </li> |
| <li> |
| <a href="http://eclipse.org">Eclipse.org</a> |
| </li> |
| </ul> |
| </div> |
| </nav> |
| </header> |
| <section class="content"> |
| <div class="container"> |
| <div class="row"> |
| <div class="col-sm-3"> |
| <div class="rcptt-sidebar"> |
| <ul class="nav"> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/getstarted/">Get Started</a> |
| </li> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/testeditor/">Test Case Editor</a> |
| </li> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/controlpanel">Control Panel</a> |
| </li> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/assertions/">Assertions</a> |
| </li> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/ecl/">Eclipse Command Language</a> |
| <ul class="nav"> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/ecl/new-command-guide/">New ECL Command Guide</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/ecl/excel-import-export/">ECL commands for Excel import and export</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/ecl/xml-import-export/">ECL commands for XML import and export</a> |
| </li> |
| </ul> |
| </li> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/contexts/">Contexts</a> |
| <ul class="nav"> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/contexts/workspace/">Workspace</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/contexts/workbench/">Workbench</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/contexts/launch/">Launch</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/contexts/preferences/">Preferences</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/contexts/parameters/">Parameters</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/contexts/group/">Group</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/contexts/folder/">Folder</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/contexts/default/">Default</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/contexts/super/">Super</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/contexts/ecl/">ECL Script</a> |
| </li> |
| </ul> |
| </li> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/verifications/">Verifications</a> |
| <ul class="nav"> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/verifications/text/">Text</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/verifications/treetable/">Table/Tree</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/verifications/errorlog/">Error Log</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/verifications/time/">Time</a> |
| </li> |
| </ul> |
| </li> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/procedures/">Procedures and Variables</a> |
| </li> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/runner/">Test Runner</a> |
| <ul class="nav"> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/runner/arguments/">Arguments</a> |
| </li> |
| </ul> |
| </li> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/maven/">Maven plugin</a> |
| </li> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/rap/">RAP</a> |
| <ul class="nav"> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/rap/install/">Install instructions</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/rap/recordReplay/">Record and Replay</a> |
| </li> |
| <li class="active" > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/rap/capability/">Capability Contexts</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/rap/rap-commands/">ECL commands</a> |
| </li> |
| <li > |
| <a href="https://www.eclipse.org/rcptt/documentation/userguide/rap/rap-maven/">Maven plugin</a> |
| </li> |
| </ul> |
| </li> |
| <li ><a href="https://www.eclipse.org/rcptt/documentation/userguide/integration/test-rail-integration/">Integration with TestRail</a> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <div class="col-sm-9"> |
| <h1>Capability Contexts</h1> |
| <p></p> |
| |
| <p>The capability context allows to describe sets of contexts for certain platforms (e3, e4. rap).
At implementation of data the context automatically defines a platform and returns the necessary set of contexts.</p> |
| |
| <ol> |
| <li>For creation of a CapabilityContext you should to select Capability item in the new context wizard.</li> |
| </ol> |
| |
| <p><img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-20.png"></img> |
| <br><br></p> |
| |
| <ol start="2"> |
| <li>For creation of section with a set of contexts for the RAP platform. Click on buttons of addition «New capability».</li> |
| </ol> |
| |
| <p><img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-24.png" width="500"></img> <img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-27.png" width="200"></img> |
| <br><br></p> |
| |
| <ol start="3"> |
| <li><p>In dialog select the RAP runtime platform. Next Press OK button. (The dialog allows to choose several runtime platform)</p></li> |
| <li><p>The RAP capability section appears in the editor of capability context the section RAP . The section allows to add specific contexts for the RAP runtime platform.</p></li> |
| <li><p>The buttons: <img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-33.png"></img>(Add,Delete,Move Up, Move Down) allows managed a section structure. . (Add, Delete, MoveUp MoveDown). The button <img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-36.png"></img>(Edit) allows to change set of runtime platform for section . The button <img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-38.png"></img>(Remove) a section with all contained contexts.</p></li> |
| <li><p>Add new ECL context to the rap section. Click on "Add" button.</p></li> |
| </ol> |
| |
| <p><img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-40.png"></img> |
| <br><br></p> |
| |
| <ol start="7"> |
| <li>Next in a select context dialog click on "New..." button, and create ECL context</li> |
| </ol> |
| |
| <p><img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-43.png"></img> |
| <br><br></p> |
| |
| <ol start="8"> |
| <li>The created context appears in the section RAP.</li> |
| </ol> |
| |
| <p><img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-46.png" width="700"></img> |
| <img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-52.png" width="700"></img> |
| <br><br></p> |
| |
| <ol start="9"> |
| <li>Add e3+e4 a capability section.Also having added to it ECL Context</li> |
| </ol> |
| |
| <p><img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-49.png"></img> |
| <br><br></p> |
| |
| <ol start="10"> |
| <li>Create simple test case and add reference to our capability context</li> |
| </ol> |
| |
| <p><img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-55.png" width="700"></img> |
| <br><br></p> |
| |
| <ol start="11"> |
| <li>Execute the test case on the rap AUT. You can see that our context is replaced on contexts from a suitable runtime platform.</li> |
| </ol> |
| |
| <p><img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-58.png"></img> |
| <br><br></p> |
| |
| <p>Sometimes it is necessary to convert the existing context into a capability context. For this purpose it is necessary to open the context menu on convertible object and to click on the "Convert to CapabilityContext" menu item.</p> |
| |
| <h3>Replacing existing context with Capability context.</h3> |
| |
| <p>To set the name of created context and to choose the capability modes. After pressing the ok buttons. All referring objects on a context will update the references.</p> |
| |
| <p><img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-61.png" width="400"></img> |
| <img src="https://www.eclipse.org/rcptt/shared/img/rap/pasted-image-64.png" width="300"></img> |
| <br><br></p> |
| </div> |
| </div> |
| </div> |
| |
| </section> |
| <script src="https://www.eclipse.org/rcptt/shared/js/main.js"></script> |
| </body> |