Note that there are some explanatory texts on larger screens.

plurals
  1. POError in MTAF While Running Sample Test in Netbeans
    text
    copied!<p>We have more issues while running sample test in MTAF.</p> <p>I have completed all the basic installation setup as per the MTAF documentation.</p> <p>When i try to run the sample test, below issues are found in Netbeans.</p> <p>1) Firefox is not running, When in try to run the test in Netbeans 6.9.1. </p> <p><img src="https://i.stack.imgur.com/PpxVT.png" alt="enter image description here"></p> <p><strong>phpunit.xml</strong></p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;phpunit backupGlobals="true" backupStaticAttributes="false" bootstrap="bootstrap.php" cacheTokens="true" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" forceCoversAnnotation="false" mapTestClassNameToCoveredClassName="false" printerClass="PHPUnit_TextUI_ResultPrinter" processIsolation="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" testSuiteLoaderClass="PHPUnit_Runner_StandardTestSuiteLoader" strict="false" verbose="true"&gt; &lt;testsuites&gt; &lt;testsuite name="All Tests"&gt; &lt;directory suffix="Test.php"&gt;testsuite/Core/Mage&lt;/directory&gt; &lt;/testsuite&gt; &lt;/testsuites&gt; &lt;logging&gt; &lt;log type="coverage-html" target="./tmp/report" charset="UTF-8" yui="true" highlight="false" lowUpperBound="35" highLowerBound="70"/&gt; &lt;log type="coverage-xml" target="./tmp/coverage.xml"/&gt; &lt;log type="graphviz" target="./tmp/logfile.dot"/&gt; &lt;log type="json" target="./tmp/logfile.json"/&gt; &lt;log type="metrics-xml" target="./tmp/metrics.xml"/&gt; &lt;log type="plain" target="./tmp/logfile.txt"/&gt; &lt;log type="pmd-xml" target="./tmp/pmd.xml" cpdMinLines="5" cpdMinMatches="70"/&gt; &lt;log type="tap" target="./tmp/logfile.tap" logIncompleteSkipped="true"/&gt; &lt;log type="junit" target="./tmp/logfile.xml" logIncompleteSkipped="false"/&gt; &lt;log type="testdox-html" target="./tmp/testdox.html"/&gt; &lt;log type="testdox-text" target="./tmp/testdox.txt"/&gt; &lt;/logging&gt; &lt;/phpunit&gt; </code></pre> <p><strong>config.yml</strong></p> <pre><code>browsers: googlechrome: &amp;googlechrome name: 'Google Chrome' browser: '*googlechrome' host: 'localhost' port: 4444 timeout: 60 firefox: &amp;firefox name: 'Firefox' browser: '*chrome' host: 'localhost' port: 4444 timeout: 60 iexplorer: &amp;iexplorer name: 'Internet Explorer' browser: '*iexplore' host: 'localhost' port: 4444 timeout: 60 default: *firefox framework: fixture_base_path: 'fixture' testsuite_base_path: 'testsuite' #work only if tests are run for single browser shareSession: true coverageScriptUrl: '' #captureScreenshotOnFailure works only for browsers that support it: Firefox/Chrome, IE with snapsIE tool captureScreenshotOnFailure: true saveHtmlPageOnFailure: false load_all_uimaps: true load_all_data: true cache: frontend: name: 'core' options: caching: false cache_id_prefix: 'selenium_' automatic_serialization: true backend: name: 'file' options: cache_dir: 'var/cache' applications: mage: &amp;mage fallbackOrderFixture: 'default' fallbackOrderHelper: 'Core' areas: admin: url: 'http://www.localhost.com/magento/index.php/admin/' base_page_uimap: 'log_in_to_admin' uimap_path: 'admin' login: 'admin' password: 'admin123' frontend: url: 'http://www.localhost.com/magento/index.php' base_page_uimap: 'home_page' default: *mage </code></pre> <p>2) Shall i need to add / modify any other codes in my system?</p> <p>3) When i try to click the test project under the Run, its seems error as like below screen shot.</p> <p><img src="https://i.stack.imgur.com/isVPn.png" alt="enter image description here"></p> <p><strong>Folder Structure :</strong></p> <p>I have used testing folder structure as like GITHUB.</p> <p>But MTAF document gives the different folder structure like reference document.</p> <p>I can see the different folder structure in GIT &amp; reference link.</p> <p>Which is correct folder structure to use in test frame work?</p> <p>Any help my appreciation.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload