GeneralFunctions: Difference between revisions

Line 15: Line 15:


=== verifyTextNotPresent(str, sel) ===
=== verifyTextNotPresent(str, sel) ===
Looks for the string on the web-page
Looks for text on the web-page
* ''str'' - text to look for
* ''str'' - text to look for
* ''sel'' - selenium instance
* ''sel'' - selenium instance
* Returns True if ''str'' is not found else False
* Returns True if ''str'' is not found else False
       
 
=== verifyPageTitle(title_regexp, actual_title, sel) ===
=== verifyPageTitle(title_regexp, actual_title, sel) ===
* ''title_regexp'' - regular expression used in match
* ''title_regexp'' - regular expression used in match
1,072

edits