QA/Execution/Web Testing/Docs/Automation/Testcases/ConfigFiles: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 7: Line 7:
#''GridConnection''
#''GridConnection''


<u>'''''configurationAMO''''':</u>  
===== <u>'''configurationAMO''':</u> =====


This file is not available on SVN for viewing. It contains tuples/associative arrays of the following:<br>  
This file is not available on SVN for viewing. It contains tuples/associative arrays of the following:<br>  
Line 25: Line 25:
2. Different add-ons. If you want to use a specific add-on then it should be added to the addons array in this file. <br>  
2. Different add-ons. If you want to use a specific add-on then it should be added to the addons array in this file. <br>  


Note: It is recommended not to use a specific add-on unless necessary. Currently, our tests picks a random add-on from the home-page if you call the function ''getRandomAddonVersion2(appName, sel) ''<br>
Note: It is recommended not to use a specific add-on unless necessary. Currently, our tests picks a random add-on from the home-page if you call the function ''getRandomAddonVersion2(appName, sel) ''<br>
 
<br>
 
<u>'''borwserConfig (TCParameters):'''</u><br>
 
TCParameters has variables defined with values that are required to run a test case. We will have 3 copies of TCParameters, one for Smoke Tests suite, one for Basic Functional Tests suite &amp; one for Full functional tests.<br>
 
Some of the variables defined here are: <br>
 
# limits for processing loops<br>&nbsp;maxCategories = 3 # maximum number of categories checked in test case<br>&nbsp;maxItemsPerPage = 10 # maximum number of items (ex: personas, add-ons) checked per page<br>&nbsp;# sortOption and sortOptionControl is being replaced by page specific options.<br>&nbsp;sortOption = '' # sort option parameter for a test function. possible values listed in test suite<br>&nbsp;sortOptionControl = '' # sort option control to select, if script handles multiple. values listed in test suite<br>&nbsp;# list sort and filter options<br>&nbsp;AMOhomePageSortOptions = ('recommended', 'popular', 'added', 'updated')<br>&nbsp;AMOhomePageSort = AMOhomePageSortOptions[0] <br>
 
Depending on the kind of test suite, the values will differ. For e.g. maxCategories = 1 (for Smoke Test Suite); maxCategories = 3 (for BFT Suite); maxCategories = all (for FFT); <br>
 
<br>
 
<br>
 
<br>
 
<br>
169

edits