farnking / Test-Dragon-Forum-of-TBots

a fuzzer lab
1 stars 1 forks source link

Error during Initial Testing #12

Closed bernie6401 closed 11 months ago

bernie6401 commented 12 months ago

測試資策會的網站遇到的問題,在還沒有完成initialization之前就出現問題

Whole Error ```bash Exception has occurred: AttributeError 'CnUtil_webDriverManager' object has no attribute 'driver' File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 71252, in start File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 71189, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 29769, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 39759, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 33578, in startMegaTBot AttributeError: 'CnUtil_webDriverManager' object has no attribute 'driver' ```
Apart of Error from Console ```bash ... __safeAppId is not set! 'CnProjectManager_CnProject' object has no attribute '_CnProjectManager_CnProject__safeAppId' FM appCacheDir: d:\NTU\TAAD-Project\TestDragon\rootPortable\TestDragonPlayGround\.TestDragonCache\http_..www.iii.org.tw. displayOrientationPath: d:\NTU\TAAD-Project\TestDragon\rootPortable\TestDragonPlayGround\.TestDragonCache\http_..www.iii.org.tw.\displayOrientation.txt [Thread-7][INFO] Lock 3025909984072 acquired on C:\Users\Bernie\anaconda3\envs\TAAD\lib\site-packages\tldextract\.suffix_cache/publicsuffix.org-tlds\de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock [Thread-7][INFO] Lock 3025909984072 released on C:\Users\Bernie\anaconda3\envs\TAAD\lib\site-packages\tldextract\.suffix_cache/publicsuffix.org-tlds\de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock Done urlAnalyzing: {'url': 'http://www.iii.org.tw/', 'scheme': 'http', 'fragment': None, 'queryStr': None, 'authority': 'www.iii.org.tw', 'path': '', 'user': None, 'port': None, 'subdomain': 'www', 'domain': 'iii', 'suffix': 'org.tw', 'domainPort': 'http://iii.org.tw', 'pathSegments': [''], 'query': {}, 'queryTemplate': None, 'urlQueryTemplate': 'http://www.iii.org.tw'} testing task init FM appCacheDir: d:\NTU\TAAD-Project\TestDragon\rootPortable\TestDragonPlayGround\.TestDragonCache\http_..www.iii.org.tw.\traces Starting the DuT module! Resorting to the Web default module! Done urlAnalyzing: {'url': 'http://www.iii.org.tw/', 'scheme': 'http', 'fragment': None, 'queryStr': None, 'authority': 'www.iii.org.tw', 'path': '', 'user': None, 'port': None, 'subdomain': 'www', 'domain': 'iii', 'suffix': 'org.tw', 'domainPort': 'http://iii.org.tw', 'pathSegments': [''], 'query': {}, 'queryTemplate': None, 'urlQueryTemplate': 'http://www.iii.org.tw'} Done urlAnalyzing: {'url': 'iii.org.tw', 'scheme': None, 'fragment': None, 'queryStr': None, 'authority': 'iii.org.tw', 'path': None, 'user': None, 'port': None, 'subdomain': '', 'domain': 'iii', 'suffix': 'org.tw', 'domainPort': 'iii.org.tw', 'pathSegments': None, 'query': {}, 'queryTemplate': None, 'urlQueryTemplate': 'iii.org.tw'} Starting the web test actioner! Starting the webViewDictManager module! Generating a random name: oHrS4nfCC ```
farnking commented 11 months ago

可以試試看新版本嗎?另外你可以直接從網路下載一次,因為我把自動更新下載後的relauching功能加上去了,

bernie6401 commented 11 months ago

換了pyc檔還是一樣的狀況耶

bernie6401 commented 11 months ago

這個問題還是一樣喔

farnking commented 11 months ago

這個問題還在嗎?

bernie6401 commented 11 months ago

這個問題還是一樣喔

farnking commented 11 months ago

你把最新的call stack寄來,因為現在新版本,行數都變了。什麼時候把新的call stack寄來?加console輸出?

bernie6401 commented 11 months ago
Whole Error ```bash Exception has occurred: AttributeError 'CnUtil_webDriverManager' object has no attribute 'driver' File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 71283, in start File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 71220, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 29800, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 39790, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonbernie6401@gmail.com\TestDragonPlayGround\src\CnTestingTask.pyx", line 33609, in startMegaTBot AttributeError: 'CnUtil_webDriverManager' object has no attribute 'driver' ```
farnking commented 11 months ago

你這是哪一個計劃,哪一個網頁,用什麼browser?不然你就把這個計劃的各種細節都跟我講,讓我自己試試看。

farnking commented 11 months ago

以後除了console output、callstack之外,也應該把project,app under test等等資料也附上,這樣我比較能夠重現錯誤。

bernie6401 commented 11 months ago

Project ID: 53 Browser: Edge appName: http_..www.iii.org.tw

farnking commented 11 months ago

這錯誤好像改好了,你試試看。問題出在我在判斷browser driver的capability時漏掉了EDGE

bernie6401 commented 11 months ago

可以了