mangroveorg/datawinners

View on GitHub
func_tests/pages/createsubjectquestionnairepage/create_subject_questionnaire_locator.py

Summary

Maintainability
A
30 mins
Test Coverage
# vim: ai ts=4 sts=4 et sw=4 encoding=utf-8

from framework.utils.common_utils import *


# By default every locator should be CSS
# Abbr:
# TB - Text Box
# CB - Check Box
# RB - Radio Button
# BTN - Button
# DD - Drop Down
# LINK - Links
# LABEL - Label


# variable to access locators
LOCATOR = "locator"
BY = "by"

SAVE_CHANGES_BTN = by_css("input#submit-button[value='Next Step: Questionnaire']")
PREVIOUS_STEP_LINK = by_xpath("//a[@id='define_project_link' and text()='Define Project']")