prkatti1 | e219896 | 2016-12-23 00:20:37 -0600 | [diff] [blame] | 1 | #!/usr/bin/python |
| 2 | |
| 3 | # Contains xpaths and related string constants of Security scanning. |
| 4 | |
Gunnar Mills | 096cd56 | 2018-03-26 10:19:12 -0500 | [diff] [blame] | 5 | |
prkatti1 | e219896 | 2016-12-23 00:20:37 -0600 | [diff] [blame] | 6 | class variables(): |
| 7 | |
| 8 | # xpaths for security scanning. |
| 9 | |
Gunnar Mills | 096cd56 | 2018-03-26 10:19:12 -0500 | [diff] [blame] | 10 | 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 SRR | c244625 | 2017-04-12 11:46:15 -0500 | [diff] [blame] | 20 | |
Gunnar Mills | 096cd56 | 2018-03-26 10:19:12 -0500 | [diff] [blame] | 21 | 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]" |