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

no edit summary
No edit summary
Line 29: Line 29:
<br>  
<br>  


<u>'''TCparam:'''</u><br>
===== <u>'''TCparams:'''</u> =====


TCParameters has variables defined with values that are required to run a test case. The module has multiple classes which defines parameters for different test suites:&nbsp;Smoke tests, Basic Functional Tests and Full Functional Tests.<br>  
TCParameters has variables defined with values that are required to run a test case. The module has multiple classes which defines parameters for different test suites:&nbsp;Smoke tests, Basic Functional Tests and Full Functional Tests.<br>  
Line 36: Line 36:


*limits for processing loops  
*limits for processing loops  
*&nbsp;maxCategories = 3&nbsp;&nbsp; i.e. maximum number of categories checked in test case  
** maxCategories = 3&nbsp;&nbsp; i.e. maximum number of categories checked in test case  
*&nbsp;maxItemsPerPage = 10 &nbsp; i.e. maximum number of items (ex: personas, add-ons) checked per page  
** maxItemsPerPage = 10 &nbsp; i.e. maximum number of items (ex: personas, add-ons) checked per page  
*&nbsp;# sortOption and sortOptionControl is being replaced by page specific options.
* list sort and filter options  
*&nbsp;sortOption = ''# sort option parameter for a test function. possible values listed in test suite<br>''
** AMOhomePageSortOptions = ('recommended', 'popular', 'added', 'updated')  
*''&nbsp;sortOptionControl = '' # sort option control to select, if script handles multiple. values listed in test suite
** personasBrowsePageSortOptions = ['up-and-coming', 'created', 'popular']<br>
*&nbsp;# list sort and filter options  
*&nbsp;AMOhomePageSortOptions = ('recommended', 'popular', 'added', 'updated')  
*&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>  
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 = 99 (for FFT); <br>  


<br>
<br>
1,072

edits