mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-03 04:18:15 +00:00
- changed phones to S20 and Iphone 12
- speed test issue solved Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
This commit is contained in:
committed by
Sushant Bawiskar
parent
bd7c97ebcf
commit
601b4f5703
@@ -596,7 +596,9 @@ def verifyUploadDownloadSpeed_android(request, setup_perfectoMobile, get_APToMob
|
|||||||
try:
|
try:
|
||||||
print("Click Search Button")
|
print("Click Search Button")
|
||||||
report.step_start("Click Search Button")
|
report.step_start("Click Search Button")
|
||||||
elelSearch = driver.find_element_by_xpath("//*[@class='aajZCb']/li[1]/div[1]")
|
elelSearch = driver.find_element_by_xpath("//*[@class='aajZCb']//*[@class='nz2CCf']/li[1]/div[2]")
|
||||||
|
# elelSearch = driver.find_element_by_xpath("//*[@class='aajZCb']/li[1]/div[1]")
|
||||||
|
# //*[@class="aajZCb"]//*[@class="nz2CCf"]/li[1]/div[2]
|
||||||
elelSearch.click()
|
elelSearch.click()
|
||||||
except NoSuchElementException:
|
except NoSuchElementException:
|
||||||
print("Search Drop Down not active...")
|
print("Search Drop Down not active...")
|
||||||
@@ -608,6 +610,7 @@ def verifyUploadDownloadSpeed_android(request, setup_perfectoMobile, get_APToMob
|
|||||||
except NoSuchElementException:
|
except NoSuchElementException:
|
||||||
print("Error in speed test element ", NoSuchElementException)
|
print("Error in speed test element ", NoSuchElementException)
|
||||||
# allure.attach(name="Speed Test logs: ", body=str("Search Run Speed Test not active..." + NoSuchElementException))
|
# allure.attach(name="Speed Test logs: ", body=str("Search Run Speed Test not active..." + NoSuchElementException))
|
||||||
|
return False
|
||||||
|
|
||||||
#Get upload/Download Speed
|
#Get upload/Download Speed
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -524,7 +524,8 @@ def verifyUploadDownloadSpeediOS(request, setup_perfectoMobile, get_APToMobileDe
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
print("Click Search Button")
|
print("Click Search Button")
|
||||||
elelSearch = driver.find_element_by_xpath("//*[@class='aajZCb']/li[1]/div[1]")
|
# elelSearch = driver.find_element_by_xpath("//*[@class='aajZCb']/li[1]/div[1]")
|
||||||
|
elelSearch = driver.find_element_by_xpath("//*[@class='aajZCb']//*[@class='nz2CCf']/li[1]/div[2]")
|
||||||
elelSearch.click()
|
elelSearch.click()
|
||||||
except NoSuchElementException:
|
except NoSuchElementException:
|
||||||
currentResult = False
|
currentResult = False
|
||||||
@@ -537,6 +538,7 @@ def verifyUploadDownloadSpeediOS(request, setup_perfectoMobile, get_APToMobileDe
|
|||||||
except NoSuchElementException:
|
except NoSuchElementException:
|
||||||
currentResult = False
|
currentResult = False
|
||||||
print("Run Speed Test Button element not found")
|
print("Run Speed Test Button element not found")
|
||||||
|
return currentResult
|
||||||
|
|
||||||
#Get upload/Download Speed
|
#Get upload/Download Speed
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user