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 | |
| 5 | class variables(): |
| 6 | |
| 7 | # xpaths for security scanning. |
| 8 | |
| 9 | BROWSER= "ff" |
| 10 | nessus_logo= "xpath=//*[@id='logo']" |
| 11 | running_status= "xpath=//*[@id='main']/div[1]/section/div[2]/table/tbody/tr[1]/td[4]" |
| 12 | username= "test" |
| 13 | password= "passw0rd" |
| 14 | xpath_exception= "id=advancedButton" |
| 15 | xpath_add_exce= "id='exceptionDialogButton'" |
| 16 | xpath_uname= "xpath=//*[@id='nosession']/form/input[1]" |
| 17 | xpath_password= "xpath=//*[@id='nosession']/form/input[2]" |
| 18 | xpath_signin= "xpath=//*[@id='sign-in']" |
Sivas SRR | c244625 | 2017-04-12 11:46:15 -0500 | [diff] [blame] | 19 | |
prkatti1 | e219896 | 2016-12-23 00:20:37 -0600 | [diff] [blame] | 20 | xpath_search= "xpath=//*[@id='searchbox']/input" |
| 21 | scan_name= "OP Full Scan" |
| 22 | xpath_op_scan= "xpath=//*[@id='main']/div[1]/section/table/tbody" |
| 23 | xpath_launch= "xpath=//*[@id='scans-show-launch-dropdown']/span" |
| 24 | xpath_default= "xpath=//*[@id='scans-show-launch-default']" |
| 25 | xpath_status= "xpath=//*[@id='main']/div[1]/section/div[2]/table/tbody/tr[1]/td[4]" |
Sivas SRR | 40c1f04 | 2018-01-05 11:00:02 -0600 | [diff] [blame] | 26 | |