Skip to content

Instantly share code, notes, and snippets.

@khanbhai89
khanbhai89 / my-first-test-final.robot
Created February 21, 2021 06:03
This file is final outlook of our tutorial on Medium.
*** Settings ***
Library SeleniumLibrary
Library ./lib/CustomLib.py
Documentation
... My First Test
... This test will try to Signin with Wrong Email
*** Keywords ***
@khanbhai89
khanbhai89 / CustomLib.py
Created February 21, 2021 05:41
This is custom library file for the Medium Article.
import random
import string
__version__ = '1.0.0'
class CustomLib(object):
ROBOT_LIBRARY_VERSION = __version__
ROBOT_LIBRARY_SCOPE = 'GLOBAL'
@khanbhai89
khanbhai89 / my-first-test-without-custom.robot
Created February 21, 2021 05:18
This file is for the code which should be shown in the medium article.
*** Settings ***
Library SeleniumLibrary
Documentation
... My First Test
... This test will try to Signin with Wrong Email
*** Keywords ***
Navigate To Store
*** Settings ***
Library SeleniumLibrary
Documentation
... My First Test
... This test will Verify Google
*** Keywords ***
Navigate To Google