Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

unittest

python tests/unittest/test_SeleniumUnittest.py
test_page_title (__main__.GoogleTestCase)
Assert that title of page says 'Google'. ... ok
test_search_page_title (__main__.GoogleTestCase)
Assert that Google search returns data for 'Red Hat'. ... ok

----------------------------------------------------------------------
Ran 2 tests in 7.765s

OK
Source by devconfusa18.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #unittest
ADD COMMENT
Topic
Name
2+7 =