mangroveorg/datawinners

View on GitHub
func_tests/pages/alldatapage/all_data_locator.py

Summary

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

# 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"

All_DATA_RECORDS_LINK_XPATH = "//a[@class='project-id-class' and text()='%s']/../../td[3]/span/span/a[text()='View Submissions']"
ANALYSIS_LINK_XPATH = "//a[@class='project-id-class' and text()='%s']/../../td[3]/span/span/a[text()='Analyze Data']"
WEB_SUBMISSION_LINK_XPATH = "//a[@class='project-id-class' and text()='%s']/../../td[3]/span/a[text()='Make a Submission']"
ALL_FAILED_SUBMISSION_LINK = "#failed_submissions_tab"