锘??xml version="1.0" encoding="utf-8" standalone="yes"?>777电影在线观看,亚洲精品中字,亚洲视频一区二区在线观看http://blogjava.net/dieyaxianju/category/54822.htmlzh-cnFri, 17 Jul 2015 18:37:21 GMTFri, 17 Jul 2015 18:37:21 GMT60selenium褰曞埗鏄啓鐨勬敞閲婏紝java鏂囦歡瀵煎叆myeclipse涔辯爜http://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426291.html紕熼泤闂插眳紕熼泤闂插眳Fri, 17 Jul 2015 14:47:00 GMThttp://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426291.htmlhttp://www.aygfsteel.com/dieyaxianju/comments/426291.htmlhttp://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426291.html#Feedback0http://www.aygfsteel.com/dieyaxianju/comments/commentRss/426291.htmlhttp://www.aygfsteel.com/dieyaxianju/services/trackbacks/426291.html1.鍙互瀵瑰崟涓枃浠舵敼緙栫爜鏍煎紡 鍙抽敭銆嬪睘鎬?br />
2 鏀瑰彉鏁翠釜myEclipse宸ヤ綔絀洪棿鐨勭紪鐮佹牸寮?span class="Apple-converted-space"> 
    
    1錛?nbsp; myeclipse->window->preferences->General->workspaceTypes 
    
    2錛?nbsp; 鏀瑰彉鏂囨湰鏂囦歡緙栫爜鏍煎紡涓簎tf-8

3 鏀瑰彉鏁翠釜鏂囦歡綾誨瀷鐨勭紪鐮佹牸寮?span class="Apple-converted-space"> 

    
    1錛?nbsp; eclipse->window->preferences->General->Content Types 
    
    2錛?nbsp; 鎵懼埌瑕佷慨鏀圭殑鏂囦歡鐨勭被鍨嬶紙JAVA,JSP絳夌瓑錛夛紝鍦ㄤ笅闈㈡湁涓狣efault encoding,鍦ㄨ緭鍏ユ涓緭鍏BK 鎴朥TF-8
    
    3錛?nbsp; 鐐瑰嚮Update 
    
    4錛?nbsp; 鐐瑰嚮OK 
    
    5錛?nbsp; 閲嶅惎eclipse

    
   


]]>
鎶ラ敊Could not start Selenium sessionhttp://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426288.html紕熼泤闂插眳紕熼泤闂插眳Fri, 17 Jul 2015 13:53:00 GMThttp://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426288.htmlhttp://www.aygfsteel.com/dieyaxianju/comments/426288.htmlhttp://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426288.html#Feedback0http://www.aygfsteel.com/dieyaxianju/comments/commentRss/426288.htmlhttp://www.aygfsteel.com/dieyaxianju/services/trackbacks/426288.htmljava.lang.RuntimeException: Could not start Selenium session: Failed to start new browser session: java.lang.RuntimeException: java.lang.RuntimeException: Firefox could not be found in the path!
Please add the directory containing ''firefox.exe'' to your PATH environment
variable, or explicitly specify a path to Firefox like this:
*firefox c:\blah\firefox.exe
 
鍘熷洜錛氭壘涓嶅埌firefox錛堢伀鐙愪笉鏄粯璁ゅ畨瑁呬綅緗嚜宸辨崲浜嗕綅緗殑錛夛紝涓嶈兘鎵撳紑嫻忚鍣?br />瑙e喅鏂規錛?br />鏂規硶涓錛氳緗幆澧冨彉閲忥紝灝嗙伀鐙愮殑鍦板潃鏀捐繘path鍙橀噺涓?br />鏂規硶浜岋細灝嗙伀鐙愮殑璺緞鍐欒繘鏉ワ紝娉ㄦ剰璺緞鐨刓瑕佺敤\\,鍏朵腑涓涓猏鏄漿涔夌殑鎰忔?br />
鍗充笅闈㈢殑"*firefox"鏀逛負 "*firefox D:\\study\\selenium\\Firefox\\firefox.exe"



]]>
鍚姩Selenium嫻嬭瘯鏈嶅姟鍣╓ARN-Failed to start錛歋ocketListener000.0.0.0:4444http://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426286.html紕熼泤闂插眳紕熼泤闂插眳Fri, 17 Jul 2015 13:13:00 GMThttp://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426286.htmlhttp://www.aygfsteel.com/dieyaxianju/comments/426286.htmlhttp://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426286.html#Feedback0http://www.aygfsteel.com/dieyaxianju/comments/commentRss/426286.htmlhttp://www.aygfsteel.com/dieyaxianju/services/trackbacks/426286.html
鍚敤selenium-server鎻愮ずWARN-Failed to start錛歋ocketListener000.0.0.0:4444
涓昏鏄洜涓哄凡緇忔湁鍙﹀涓涓猄elenium server 鍚姩浜嗭紝浣犲彲浠ユ煡鐪嬫槸鍚︽湁鍏朵粬鐨剆elenium server姝e湪榪愯,濡傛灉鏈夎灝嗗叾鍏抽棴錛涘惁鍒欏氨鏄湁鍙﹀鐨勬湇鍔″櫒鍦ㄤ嬌鐢?444绔彛錛岃鏇存崲绔彛銆?br />寮濮?-榪愯--cmd 榪涘叆鍛戒護鎻愮ず絎?杈撳叆netstat -ano 鍗沖彲鐪嬪埌鎵鏈夎繛鎺ョ殑PID 涔嬪悗鍦ㄤ換鍔$鐞嗗櫒涓壘鍒拌繖涓狿ID鎵瀵瑰簲鐨勭▼搴忓鏋滀換鍔$鐞嗗櫒涓病鏈塒ID榪欎竴欏?鍙互鍦ㄤ換鍔$鐞嗗櫒涓?鏌ョ湅"-"閫夋嫨鍒?

        緇忓父錛屾垜浠湪鍚姩搴旂敤鐨勬椂鍊欏彂鐜扮郴緇熼渶瑕佺殑绔彛琚埆鐨勭▼搴忓崰鐢紝濡備綍鐭ラ亾璋佸崰鏈変簡鎴戜滑闇瑕佺殑绔彛錛屽緢澶氫漢閮芥瘮杈冨ご鐤鹼紝涓嬮潰灝變粙緇嶄竴縐嶉潪甯哥畝鍗曠殑鏂規硶錛屽笇鏈涘澶у鏈夌敤

鍋囧鎴戜滑闇瑕佺‘瀹氳皝鍗犵敤浜嗘垜浠殑9050绔彛

1銆乄indows騫沖彴
鍦╳indows鍛戒護琛岀獥鍙d笅鎵ц錛?/p>

 C:\>netstat -aon|findstr "9050"

TCP 127.0.0.1:9050 0.0.0.0:0 LISTENING 2016
鐪嬪埌浜嗗悧錛岀鍙h榪涚▼鍙蜂負2016鐨勮繘紼嬪崰鐢紝緇х畫鎵ц涓嬮潰鍛戒護錛?
 C:\>tasklist|findstr "2016"

tor.exe 2016 Console 0 16,064 K

寰堟竻妤氭槸錛宼or鍗犵敤浜?095绔彛
鍦ㄨ繖閲岋紝鎴戜滑鏌ョ湅4444绔彛鍗犵敤錛屽涓嬪浘鎵紺?br />鍙?img border="0" alt="" src="http://www.aygfsteel.com/images/blogjava_net/dieyaxianju/鏌ョ湅4444绔彛鍗犵敤.png" width="650" height="162" />

鐒跺悗鍙互鍦ㄤ換鍔$鐞嗗櫒灝唈avaw璇ヨ繘紼嬬粨鏉?br />鍐嶉噸鏂板惎鍔紝濡備笅灝辨垚鍔熶簡


2.linux騫沖彴
ps -efa|grep selenium
鏉浜嗚榪涚▼


閬囧埌鐨勯敊璇?

java.lang.RuntimeException: Could not contact Selenium Server; have you started it on 'localhost:4444' ?
Read more at http://seleniumhq.org/projects/remote-control/not-started.html
Connection refused: connect
 at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:104)
 
鍘熷洜錛歴elenium server鏈惎鍔紝鎴戞妸鍚姩欏甸潰cmd鍏充簡
瑙e喅鏂規錛氬惎鍔╯elenium server錛歫ava -jar selenium-server-standalone-2.44.1.jar



]]>
selenium褰曞埗鏃跺脊鍑烘剰澶栭敊璇?/title><link>http://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426278.html</link><dc:creator>紕熼泤闂插眳</dc:creator><author>紕熼泤闂插眳</author><pubDate>Fri, 17 Jul 2015 07:14:00 GMT</pubDate><guid>http://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426278.html</guid><wfw:comment>http://www.aygfsteel.com/dieyaxianju/comments/426278.html</wfw:comment><comments>http://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426278.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/dieyaxianju/comments/commentRss/426278.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/dieyaxianju/services/trackbacks/426278.html</trackback:ping><description><![CDATA[There was an unexpected error. Msg: TypeError: insertedCommand.line is undefined<br />Url: chrome://selenium-ide/content/sourceView.js, line: 34, column: 7<br /><a href="mailto:SourceView.prototype.rowInserted@chrome://selenium-ide/content/sourceView.js:34:8">SourceView.prototype.rowInserted@chrome://selenium-ide/content/sourceView.js:34:8</a><br /><a href="mailto:Editor.prototype.addCommand@chrome://selenium-ide/content/editor.js:858:5">Editor.prototype.addCommand@chrome://selenium-ide/content/editor.js:858:5</a><br /><a href="mailto:Editor.prototype.appendWaitForPageToLoad@chrome://selenium-ide/content/editor.js:885:7">Editor.prototype.appendWaitForPageToLoad@chrome://selenium-ide/content/editor.js:885:7</a><br />Editor.prototype.onUnloadDocument/<@chrome://selenium-ide/content/editor.js:662:5<img border="0" alt="" src="http://www.aygfsteel.com/images/blogjava_net/dieyaxianju/鎰忓閿欒.png" width="1039" height="526" /><br /><br /><br />option>options>Formats>Enviroment (鏈変笁涓?閮芥敼鎴愮伀鐙恌irefox<br /><br /><img border="0" alt="" src="http://www.aygfsteel.com/images/blogjava_net/dieyaxianju/褰曞埗鑴氭湰閿欒.png" width="652" height="600" />><br /><br /><br /><br /><img src ="http://www.aygfsteel.com/dieyaxianju/aggbug/426278.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/dieyaxianju/" target="_blank">紕熼泤闂插眳</a> 2015-07-17 15:14 <a href="http://www.aygfsteel.com/dieyaxianju/archive/2015/07/17/426278.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>selenium+java鐜閰嶇疆http://www.aygfsteel.com/dieyaxianju/archive/2015/05/07/424927.html紕熼泤闂插眳紕熼泤闂插眳Thu, 07 May 2015 14:20:00 GMThttp://www.aygfsteel.com/dieyaxianju/archive/2015/05/07/424927.htmlhttp://www.aygfsteel.com/dieyaxianju/comments/424927.htmlhttp://www.aygfsteel.com/dieyaxianju/archive/2015/05/07/424927.html#Feedback0http://www.aygfsteel.com/dieyaxianju/comments/commentRss/424927.htmlhttp://www.aygfsteel.com/dieyaxianju/services/trackbacks/424927.html1.涓嬭澆Firefox嫻忚鍣?br />2.鐐瑰嚮宸ュ叿銆嬮檮鍔犵粍浠躲嬫悳绱elenium   鐒跺悗瀹夎Selenium IDE 2.4.0
3.灝唖elenium-ide-2.4.0鍖呴噷闈㈢殑鎻掍歡鐩存帴鎷栬繘鐏嫄嫻忚鍣ㄩ噷闈?
4.myeclipse閰嶇疆selenium
   a.鍑嗗selenium-java-2.33.0鐨勫寘錛堢増鏈笉涓瀹氾級錛岄噷闈㈡湁涓浜沯ar鍖?br /> 
b.鏂板緩涓涓狫ava Project
  灝嗕笂闈㈢殑鍥涗釜鏂囦歡鎷瘋礉鍒版柊寤虹殑project鐩綍涓嬮潰錛屼篃灝唖elenium-server-standalone鎷瘋礉榪涘幓錛岀劧鍚庡埛鏂拌宸ョ▼鐩綍
c.娣誨姞build path錛岄」鐩洰褰曞彸閿?->Build Path--> config build path-->Java Build Path-->Libraries-->Add JARs

銆銆鎶妉ibs鏂囦歡澶逛笅鐨刯ar鍖呭叏閮ㄦ坊鍔犱笂錛屽啀娣誨姞selenium-java-2.33.0鍜宻elenium-java-2.33.0-srcs錛宻elenium-server-standalone
d.娣誨姞瀹屼箣鍚庣洰褰曠粨鏋勫涓嬪浘錛屽浜哛eferenced Libraries,榪欓噷灝辨槸涓婇潰閭d竴姝ユ坊鍔犺繘鍘葷殑jar鍖?br />            





]]>
主站蜘蛛池模板: 邻水| 乐清市| 彝良县| 尉犁县| 稷山县| 潞城市| 涿鹿县| 镇宁| 昭觉县| 三都| 上高县| 麻阳| 元朗区| 武川县| 广丰县| 海口市| 都匀市| 五原县| 固阳县| 巴林右旗| 广汉市| 嘉黎县| 南平市| 岑巩县| 稻城县| 马龙县| 中宁县| 会泽县| 上饶市| 潍坊市| 石河子市| 龙里县| 乐山市| 海伦市| 镇赉县| 孟村| 霍山县| 黄冈市| 农安县| 尚志市| 庆元县|