blob: 1abc2e2b1f37f08c4a1451bceccaa6a3b141ce43 [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
5class 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']"
19 xpath_search= "xpath=//*[@id='searchbox']/input"
20 scan_name= "OP Full Scan"
21 xpath_op_scan= "xpath=//*[@id='main']/div[1]/section/table/tbody"
22 xpath_launch= "xpath=//*[@id='scans-show-launch-dropdown']/span"
23 xpath_default= "xpath=//*[@id='scans-show-launch-default']"
24 xpath_status= "xpath=//*[@id='main']/div[1]/section/div[2]/table/tbody/tr[1]/td[4]"