简体   繁体   中英

How to Solve Java selenium error in testing?

I am new in software testing and following this course from utest.com https://www.utest.com/courses/selenium-basics-part-4-create-java-project-add-recorded-test-case-run-project when following steps while the instructor was testing the code the test case worked with him and give me error as in this photo screen shot of the error

how can i solve it ?

请验证您的硒服务器是否已启动并在本地主机端口4444上运行。例如,检查http://localhost:4444/selenium-server/driver?cmd=getLogMessages

By looking at the screen shot attached, the error might be because of below mentioned reasons

1) Selenium Server Standalone file is not properly configured, make sure you use the correct version of the file that is compatible with your local system

2) There might be chance that the port has been occupied by some other process, make sure the port which listens to Selenium Server Standalone is free or u can forcefully assign some other port which is not occupied to Selenium Server Standalone

Hope this will work

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM