tags |
---|
project, Website-Filter-Testing-Tool, ChromeDrive |
- A testing tool for websites filter which develope by Taiwan MoE.
- Only support chrome.
- If there are some problem, please contact me by using the mail
- Please reference the "Note"
- please use pyinstaller to create the execution ,and please use the main.spec config file.
- please config the main.spec config file before you create the execution because there is some parameter which could be reconfig.
- Open..(開檔): 目前只支援csv,後續會加入json檔,且目前只能開啟純網頁url列表
- Run(執行測試): 檔案讀取後,按Run執行。
- Stop(終止測試): 執行後"Run"按鈕會改變為"Stop",按下Stop可終止測試,按鈕變回Run,終止後重按Run會重頭開始測試。
- Save..(存檔):將結果存檔,檔案名稱與附檔名需自行輸入。
-
The Version only support the "Chrome" browser
-
These files is the main code file, other code files are belong the "selenium" package, and the reason is there has a code file "config.py" must edit when the program is be package into a execution.
- WF/Main.py
- WF/ConnectWebsite.py
- WF/UI.py
- WF/Var.py
-
If you want to package this project into a execution by using "Pyinstaller", you must edit the "config.py", you should change the code A to code B, because the path of setting file "default.ini" will be change in the execution.
-
Code A
_default_config_path = os.path.join(os.path.dirname(__file__), 'default.ini')
-
Code B
_default_config_path = os.path.join(os.path.dirname(__file__), 'default.ini/default.ini')
-