2013-04-14 1 views
0

Selenium-IDE RC를 사용하여 Serenium IDE testcase.html을 실행하는 방법을 읽었습니다. 다음은 어떻게 설정해야합니까? ...Windows CMD를 사용하여 Firefox에서 Selenium IDE testcase.html을 실행하는 방법

C:\Selenium_Server\selenium-server.jar 
C:\Scripts\Q2Nightly.html 

Firefox를 열고 Selenium IDE로 테스트 케이스를 열면 정상적으로 실행됩니다. 커맨드 라인에서 실행하는 것은 저를 위해 작동하지 않으며, 자동 배치 파일의 일부로이 파일을 필요로합니다. 이 아무 일도 발생하지 후

http://s116.photobucket.com/user/xXxghaleonxXx/media/Selenium_Automated_zps11713a8a.png.html?sort=3&o=0

:

java.exe -jar C:\selenium_server\selenium-server.jar -htmlSuite "*firefox" "http://127.0.0.1" "c:\Scripts\Q2Nightly.html" "c:\Scripts\results-firefox.html" -port 5555 

CMD 출력 두 파이어 폭스 창 스크린 샷을 열

Apr 14, 2013 11:32:33 AM org.openqa.grid.selenium.GridLauncher main 
INFO: Launching a standalone server 
11:32:34.661 INFO - Java: Sun Microsystems Inc. 20.9-b04 
11:32:34.662 INFO - OS: Windows 7 6.1 x86 
11:32:34.667 INFO - v2.32.0, with Core v2.32.0. Built from revision 6c40c18 
11:32:34.731 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:5555/wd/hub 
11:32:34.732 INFO - Version Jetty/5.1.x 
11:32:34.732 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver] 
11:32:34.733 INFO - Started HttpContext[/selenium-server,/selenium-server] 
11:32:34.733 INFO - Started HttpContext[/,/] 
11:32:34.755 INFO - Started [email protected] 
11:32:34.756 INFO - Started HttpContext[/wd,/wd] 
11:32:34.758 INFO - Started SocketListener on 0.0.0.0:5555 
11:32:34.758 INFO - Started [email protected] 
jar:file:/C:/Selenium_Server/selenium-server.jar!/customProfileDirCUSTFFCHROME 
11:32:34.857 INFO - Preparing Firefox profile... 
11:32:36.008 INFO - Launching Firefox... 
11:32:36.967 INFO - Checking Resource aliases 

: 여기

은 내가 사용하고있는 명령입니다 . 테스트 케이스가 실행되지 않고 수동으로 실행 버튼이 작동하지 않습니다. 누구든지 이걸로 도와 줄 수 있니? 하지 테스트 경우로 테스트 스위트

답변

2

저장 Q2Nightly.html. 그러면 문제가 해결 될 것입니다.

+0

환상적! 이것은 매우 감사했습니다. 이제 인증 확인 팝업을 자동화하는 방법을 알아야합니다. 그러나 나는 그것이 또 하나의 질문이라고 생각한다. –

+0

인증 확인을 통해 사용자 이름과 암호를 묻는 Windows 대화 상자를 의미합니까? – Hemanth

+0

http://stackoverflow.com/questions/16023869/how-to-automate-username-password-fill-for-firefox-authentication-popup-using-se 답변을 찾을 수있었습니다. 그것은 "인증 필요"에 대한 팝업 창이었습니다 –

관련 문제