修改关键字ID,修改将等待时间改为提取的关键字
This commit is contained in:
@@ -48,7 +48,7 @@ IPLibrariesSearchGeoName
|
||||
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=L${a} Longitude=1 Latitude=2
|
||||
OpenPages sidebarAdvanced Advanced/ipLibrary
|
||||
Settings-Search ${a} GeoName
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div
|
||||
Should Be Equal As Strings ${text} ${a}
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||
@@ -61,7 +61,7 @@ IPLibrariesSearchCountryandRegion
|
||||
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=1 Latitude=2
|
||||
OpenPages sidebarAdvanced Advanced/ipLibrary
|
||||
Settings-Search ${a} CountryandRegion
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div
|
||||
Should Be Equal As Strings ${text} ${a}
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||
@@ -74,7 +74,7 @@ IPLibrariesSearchCity
|
||||
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=1 Latitude=2
|
||||
OpenPages sidebarAdvanced Advanced/ipLibrary
|
||||
Settings-Search ${a} City
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[4]/div/div/div
|
||||
Should Be Equal As Strings ${text} ${a}
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||
@@ -87,16 +87,16 @@ IPLibrariesClickAll
|
||||
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=180 Latitude=90
|
||||
OpenPages sidebarAdvanced Advanced/ipLibrary
|
||||
click xpath=//*[@id="IPLibraryAll0"]/span
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
Settings-Search 5898240 GeoName
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div
|
||||
Should Be Equal As Strings ${text} 5898240
|
||||
OpenPages sidebarAdvanced Advanced/ipLibrary
|
||||
click xpath=//*[@id="IPLibraryAll0"]/span
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
Settings-Search ${a} GeoName
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div
|
||||
Should Be Equal As Strings ${text} ${a}
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||
@@ -109,14 +109,14 @@ IPLibrariesClickBuilt-in
|
||||
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=180 Latitude=90
|
||||
OpenPages sidebarAdvanced Advanced/ipLibrary
|
||||
click xpath=//*[@id="IPLibraryAll1"]/span
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
Settings-Search ${a} GeoName
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/div/span
|
||||
Should Be Equal As Strings ${text} No Data
|
||||
OpenPages sidebarAdvanced Advanced/ipLibrary
|
||||
Settings-Search ${a} GeoName
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||
DeleteIPLibraries
|
||||
|
||||
@@ -124,9 +124,9 @@ IPLibrariesClickImported
|
||||
[Tags] Positive UI Settings IPLibraries
|
||||
OpenPages sidebarAdvanced Advanced/ipLibrary
|
||||
click xpath=//*[@id="IPLibraryAll2"]/span
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
Settings-Search 5898240 GeoName
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/div/span
|
||||
Should Be Equal As Strings ${text} No Data
|
||||
|
||||
@@ -136,16 +136,16 @@ IPLibrariesSearchIP
|
||||
${a}= RandomNumber
|
||||
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=180 Latitude=90
|
||||
click id=tagEdit
|
||||
sleep 2
|
||||
sleep ${sleep}
|
||||
input id=IPseach 1.1.1.1
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
press keys id=IPseach ENTER
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[3]/div/div[2]/div[2]/ul/li/div/form/div/div/div
|
||||
Should Be Equal As Strings ${text} 1.1.1.1-2.2.2.2
|
||||
OpenPages sidebarAdvanced Advanced/ipLibrary
|
||||
Settings-Search ${a} GeoName
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||
DeleteIPLibraries
|
||||
|
||||
@@ -170,7 +170,8 @@ IPLibrariesCreateGeoNameIDMaxSize
|
||||
IPLibrariesCreateCountryandRegionAndCityMaxSize
|
||||
[Tags] Boundary UI Settings IPLibraries
|
||||
${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1
|
||||
CreateIpLibraries Geo Name Country Africa 548459 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 ${iplist} j=2 Country=11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 Longitude=1 Latitude=2
|
||||
${a}= RandomNumber
|
||||
CreateIpLibraries Geo Name Country Africa ${a} 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111${a} ${iplist} j=2 Country=1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111${a} Longitude=1 Latitude=2
|
||||
DeleteIPLibraries
|
||||
|
||||
IPLibrariesCreateLongitudeAndLatitudeMaxSize
|
||||
@@ -185,7 +186,7 @@ IPLibrariesGeoNameIDRepeat
|
||||
CreateIpLibraries Geo Name Country Africa 548464 548464 ${iplist} j=2 Country=5484888 Longitude=180 Latitude=90
|
||||
CreateIpLibrariesErrorVerification Geo Name Country Africa 548464 548464 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[3]/div/div[3] Geo Name already exists j=2 Country=548464 Longitude=180 Latitude=90
|
||||
click id=IP_library_cancel
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
||||
DeleteIPLibraries
|
||||
|
||||
|
||||
Reference in New Issue
Block a user