Full Search Tests
open /login?uid=willbarber  
assertTextPresent Welcome to NetDB  
assertTextPresent William Barbera  
clickAndWait Link_FS_ATeam  
assertTextPresent Admin Team Full Search  
type txt.lower(name) "Spacely's Nuts"
clickAndWait Button_Search  
assertTextPresent Search Result  
verifyTextPresent Admin Teams(1).  
clickAndWait Link_FS_ATeam  
type txt.lower(owner) "Spacely Sprokets"
select displayOrder.txt.3.Group Yes
select displayOrder.txt.7.Comment Yes
clickAndWait Button_Search  
verifyTextPresent Admin Teams(1).  
clickAndWait Link_FS_Domain  
assertTextPresent Domain Full Search  
type txt.lower(domain) *.com
clickAndWait Button_Search  
assertTextPresent Search Result  
assertTextPresent Cogswell-Cogs.COM  
assertTextPresent Spacely-Sprockets.COM  
clickAndWait Link_FS_Domain  
type txt.lower(owner) "Cogswell Cogs" or "Spacely Sprokets"
select displayOrder.txt.5.Comment Yes
clickAndWait Button_Search  
verifyTextPresent Domains(2).  
clickAndWait Link_FS_Group  
assertTextPresent Group Full Search  
type txt.lower(owner) "Cogswell Cogs"
select displayOrder.txt.2.Comment Yes
clickAndWait Button_Search  
assertTextPresent Search Result  
verifyTextPresent Groups(1).  
assertTextPresent NetDB test data - do not disturb  
goBackAndWait
type txt.lower(owner) "Cogswell Cogs" or "Spacely Sprokets"
clickAndWait Button_Search  
verifyTextPresent Groups(2).  
clickAndWait Link_FS_Network  
assertTextPresent Network Full Search  
type fs.FS_NameNetwork.txt.fullname_lc cogswell-cogs-net
clickAndWait Button_Search  
assertTextPresent Search Result  
verifyTextPresent Networks(1).  
assertTextPresent cogswell-cogs-net.Cogswell-Cogs.COM  
clickAndWait Link_FS_Network  
type fs.FS_NetworkIPaddresses.ip.IPaddress 191.64.20.7
select displayOrder.ni.13.Address Yes
clickAndWait Button_Search  
verifyTextPresent Networks(1).  
assertTextPresent 191.64.20.0/24  
assertTextPresent 191.64.20.245  
clickAndWait Link_FS_Network  
type fs.FS_NetworkInfo.txt.lower(owner) Cogswell* or *Sprokets
select displayOrder.txt.8.Network Group Yes
clickAndWait Button_Search  
verifyTextPresent Networks(2).  
assertTextPresent Cogswell Cogs  
assertTextPresent Spacely Sprokets  
clickAndWait Link_FS_Network  
type fs.FS_NetworkIPaddresses.txt.fullname_lc DNbf40140b and not DNbf40140f
clickAndWait Button_Search  
verifyTextPresent Networks(0).  
goBackAndWait
type fs.FS_NetworkIPaddresses.txt.fullname_lc DNbf40140b and DNbf40140f
clickAndWait Button_Search  
verifyTextPresent Networks(1).  
goBackAndWait
type fs.FS_NetworkIPaddresses.txt.fullname_lc DNbf40140b or DNbf40850b
clickAndWait Button_Search  
verifyTextPresent Networks(2).  
clickAndWait Link_FS_Node  
assertTextPresent Node Full Search  
type TextField_Name rudi.Spacely-Sprockets.COM
clickAndWait Button_Search  
assertTextPresent Search Result  
verifyTextPresent Nodes(0).  
goBackAndWait
assertTextPresent Node Full Search  
click CheckBox_cb.i.Name:IPC  
clickAndWait Button_Search  
verifyTextPresent Nodes(1).  
goBackAndWait
assertTextPresent Node Full Search  
click CheckBox_cb.i.Name:IPC  
type TextField_Name
type fs.FS_Node.txt.groupZ.lower(owner) Spacely Sprokets
select displayOrder.txt.17.Group Yes
select displayOrder.txt.29.Comment Yes
clickAndWait Button_Search  
assertTextPresent Error: "Group" field "Spacely Sprokets" is not a valid string field.  
type fs.FS_Node.txt.groupZ.lower(owner) "Spacely Sprokets"
clickAndWait Button_Search  
verifyTextPresent Nodes(6).  
goBackAndWait
type fs.FS_Node.txt.groupZ.lower(owner) "Cogswell Cogs"
select displayOrder.txt.19.Location Yes
clickAndWait Button_Search  
verifyTextPresent Nodes(3).  
goBackAndWait
type fs.FS_Node.txt.groupZ.lower(owner) "Cogswell Cogs" and "Spacely Sprokets"
clickAndWait Button_Search  
verifyTextPresent Nodes(2).  
assertTextPresent Off Campus  
goBackAndWait
type fs.FS_Node.txt.groupZ.lower(owner)
type fs.FS_NodeIPaddress.ip.IPaddress 191.64.133.39
clickAndWait Button_Search  
verifyTextPresent Nodes(1).  
assertTextPresent spacewell-gears  
goBackAndWait
type fs.FS_NodeIPaddress.ip.IPaddress 191.64.132.0/23
clickAndWait Button_Search  
verifyTextPresent Nodes(4).  
goBackAndWait
type fs.FS_NodeIPaddress.ip.IPaddress 191.64.20.0/24
clickAndWait Button_Search  
verifyTextPresent Nodes(2).  
goBackAndWait
type fs.FS_NodeIPaddress.hw.lower(HW_address) FF:0F:EE:0E:DD:0D
clickAndWait Button_Search  
verifyTextPresent Nodes(0).  
clickAndWait Link_FS_User  
assertTextPresent User Full Search  
type txt.lower(netid) willbarber
clickAndWait Button_Search  
assertTextPresent Search Result  
verifyTextPresent Users(1).  
assertTextPresent William Barbera(willbarber)  
goBackAndWait
type txt.lower(netid) willbarber or hgcogswell
clickAndWait Button_Search  
assertTextPresent Search Result  
verifyTextPresent Users(2).  
assertTextPresent William Barbera(willbarber)  
assertTextPresent H G Cogswell(hgcogswell)  
goBackAndWait
type txt.lower(owner) "Spacely Sprokets"
select displayOrder.txt.7.Group Yes
clickAndWait Button_Search  
verifyTextPresent Users(1).  
assertTextPresent Spacely Sprokets  
assertTextPresent hanna-barbera@hanna-barbera.com  
goBackAndWait
type txt.lower(owner)
type txt.lower(name) williAm*
clickAndWait Button_Search  
verifyTextPresent Users(1).  
goBackAndWait
type txt.lower(name) williAm*
click rb.b.all_records/value=1  
select displayOrder.txt.8.Record Type Yes
clickAndWait Button_Search  
verifyTextPresent Users(1).  
assertTextPresent William Barbera(willbarber)  
assertTextPresent SystemManagement  
clickAndWait Link_FS_User  
type txt.lower(def_domain) Spacely-Sprockets.*
clickAndWait Button_Search  
verifyTextPresent Users(2).  
assertTextPresent William Barbera(willbarber)  
assertTextPresent Astro Jetson(astrodoggy)  
goBackAndWait
click rb.b.all_records/value=-1  
clickAndWait Button_Search  
verifyTextPresent Users(2).  
clickAndWait HomeLink  
type search_string astro-gw.Cogswell-Cogs.COM
clickAndWait SearchButton  
verifyTextPresent astro-gw.Cogswell-Cogs.COM  
clickAndWait Link_Modify_0  
clickAndWait Button_Add_MX_0  
clickAndWait Button_Add_Alias_0  
type TextField_Alias_Name_0_0 astro-gw-alias.Cogswell-Cogs.COM
type TextField_MX_Name_0_0 lectronimo.Spacely-Sprockets.COM
clickAndWait Button_Save  
type search_string astro-gw*
clickAndWait SearchButton  
assertTextPresent astro-gw-alias.Cogswell-Cogs.COM  
assertTextPresent astro-gw.Cogswell-Cogs.COM  
type search_string lectronimo
clickAndWait SearchButton  
assertTextPresent astro-gw.Cogswell-Cogs.COM (10)  
assertTextPresent jetson-mbdsl  
assertTextPresent MX  
clickAndWait Link_Modify_0  
click CheckBox_Alias_Name_0_0  
verifyValue CheckBox_Alias_Name_0_0 off
click CheckBox_MX_Name_0_0  
verifyValue CheckBox_MX_Name_0_0 off
clickAndWait Button_Save  
assertTextNotPresent lectronimo  
assertTextNotPresent astro-gw-alias  
clickAndWait HomeLink  
select search_object Networks
type search_string cogswell-cogs-net.Cogswell-Cogs.COM
clickAndWait SearchButton  
verifyTextPresent cogswell-cogs-net.Cogswell-Cogs.COM  
verifyTextPresent 10.254.20.0/24  
clickAndWait HomeLink  
clickAndWait Link_FS_Node  
assertTextPresent Node Full Search  
type fs.FS_NameNode.txt.fullname_lc *
click CheckBox_cb.i.f.InMyGroups  
clickAndWait Button_Search  
assertTextPresent Search Result  
verifyTextPresent Nodes(6)