blob: 65591d7af4e94776a3208ec04d55f5da7e57a7ab [file] [log] [blame]
prkatti1e2198962016-12-23 00:20:37 -06001#!/usr/bin/python
2
3# Contains xpaths and related string constants of Security scanning.
4
Gunnar Mills096cd562018-03-26 10:19:12 -05005
prkatti1e2198962016-12-23 00:20:37 -06006class variables():
7
8 # xpaths for security scanning.
9
Gunnar Mills096cd562018-03-26 10:19:12 -050010 BROWSER = "ff"
11 nessus_logo = "xpath=//*[@id='logo']"
12 running_status = "xpath=//*[@id='main']/div[1]/section/div[2]/table/tbody/tr[1]/td[4]"
13 username = "test"
14 password = "passw0rd"
15 xpath_exception = "id=advancedButton"
16 xpath_add_exce = "id='exceptionDialogButton'"
17 xpath_uname = "xpath=//*[@id='nosession']/form/input[1]"
18 xpath_password = "xpath=//*[@id='nosession']/form/input[2]"
19 xpath_signin = "xpath=//*[@id='sign-in']"
Sivas SRRc2446252017-04-12 11:46:15 -050020
Gunnar Mills096cd562018-03-26 10:19:12 -050021 xpath_search = "xpath=//*[@id='searchbox']/input"
22 scan_name = "OP Full Scan"
23 xpath_op_scan = "xpath=//*[@id='main']/div[1]/section/table/tbody"
24 xpath_launch = "xpath=//*[@id='scans-show-launch-dropdown']/span"
25 xpath_default = "xpath=//*[@id='scans-show-launch-default']"
26 xpath_status = "xpath=//*[@id='main']/div[1]/section/div[2]/table/tbody/tr[1]/td[4]"