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

no edit summary
No edit summary
No edit summary
 
Line 94: Line 94:
**[2] If copying a locator from source code to paste into Se IDE, remember to check for occurrences of %s or %d which require substitution (see [1]).  %s or %d would not appear in a locator in a run time exception unless the test case had a bug.
**[2] If copying a locator from source code to paste into Se IDE, remember to check for occurrences of %s or %d which require substitution (see [1]).  %s or %d would not appear in a locator in a run time exception unless the test case had a bug.


=== Value checking errors<br> ===
=== Value checking errors<br> ===


After text or an element attribute is retrieved it is often checked for some expected consistency. Failure can be due to:
After text or an element attribute is retrieved it is often checked for some expected consistency. Failure can be due to:  


*Unexpected alternate data formatting that hadn’t been encountered when test case was written.
*Unexpected alternate data formatting that hadn’t been encountered when test case was written.  
*Bad data as a result of an up-stream bug.
*Bad data as a result of an up-stream bug.


Some examples of value checking:<br>
Some examples of value checking:<br>  


*text does not match a regular expression.&nbsp; <br>
*text does not match a regular expression.&nbsp; <br>  
*link URL&nbsp;does not match a regular expression<br>
*link URL&nbsp;does not match a regular expression<br>  
*two values from the same page are not equal<br>
*two values from the same page are not equal<br>  
*a element does not have the same value on two pages (ex:&nbsp;add-on rating on browse page and detail page)<br>
*a element does not have the same value on two pages (ex:&nbsp;add-on rating on browse page and detail page)<br>  
*value is null<br>
*value is null<br>




Information on the general theory of relativity can be found [http://en.wikipedia.org/wiki/General_relativity here] and maybe  [http://www.sciencecartoonsplus.com/gallery/einstein/index.php here]
<br>


<br>
<br>
1,072

edits