差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
rf:rf:remoteselenium [2015/11/29 01:01]
tony
rf:rf:remoteselenium [2023/06/25 09:48] (目前版本)
行 1: 行 1:
-{{tag>​RobotFramework}}+{{tag>​RobotFramework ​Selenium}}
 ====== Remote Selenium - 透過另外一台電腦的瀏覽器做測試 ====== ====== Remote Selenium - 透過另外一台電腦的瀏覽器做測試 ======
 ===== Problem ===== ===== Problem =====
行 28: 行 28:
 ==== Robot Test Cases ==== ==== Robot Test Cases ====
 調整原本的Robot Test Cases其實也不難,只要多增加一個remote_url參數即可:​ 調整原本的Robot Test Cases其實也不難,只要多增加一個remote_url參數即可:​
 +<​code>​
 +remote_url=http://​${selenium_server_ip}:​4444/​wd/​hub
 +</​code>​
 <code html> <code html>
 <tr> <tr>
行 37: 行 40:
 </tr> </tr>
 </​code>​ </​code>​
 +==== Demo ====
 +請參考[[https://​youtu.be/​Ifq93Pbs8SE|link]]。\\
 +我執行一個測試用的測試案例,主要用來確認在IE、Firefox與Google Chrome的Remote Selenium情況下,抓圖功能是否正常。
 ===== Others ===== ===== Others =====
 如果在測試IE 11時,有遇到啟動瀏覽器卻無法做任何操作情形,可以看看Reference 3。必須透過修改註冊檔去解決這問題,也可以直接使用我提供的registry去修改:​ {{:​rf:​rf:​iedriverserver_x64.zip|link}}(only for x64 OS)。 如果在測試IE 11時,有遇到啟動瀏覽器卻無法做任何操作情形,可以看看Reference 3。必須透過修改註冊檔去解決這問題,也可以直接使用我提供的registry去修改:​ {{:​rf:​rf:​iedriverserver_x64.zip|link}}(only for x64 OS)。
行 43: 行 49:
   - [[https://​code.google.com/​p/​selenium/​issues/​detail?​id=5116|Issue 5116: IE x64 slow typing]]   - [[https://​code.google.com/​p/​selenium/​issues/​detail?​id=5116|Issue 5116: IE x64 slow typing]]
   - [[https://​code.google.com/​p/​selenium/​issues/​detail?​id=6511|Issue 6511: IE11 exceptions with IEDriverServer:​ Unable to get browser]]   - [[https://​code.google.com/​p/​selenium/​issues/​detail?​id=6511|Issue 6511: IE11 exceptions with IEDriverServer:​ Unable to get browser]]
 +  - [[http://​robotframework.org/​Selenium2Library/​doc/​Selenium2Library.html|Selenium2Library]]