我是软件测试的新手,并且是从utest.com学习本课程的 https://www.utest.com/courses/selenium-basics-part-4-create-java-project-add-recorded-test-case-run-project 当教师测试代码时按照步骤操作,测试用例与他一起工作,并在此照片中给出错误 screen shot of the error
我该如何解决?
答案 0 :(得分:0)
请确认您的selenium服务器已启动并运行在您的localhost端口4444上。检查示例Get-VMSnapshot -VMName $VM.VMName | select -ExpandProperty HardDrives | % { Get-VHD $_.Path | select Path, FileSize }
答案 1 :(得分:0)
通过查看附加的屏幕截图,错误可能是由于下面提到的原因
1)未正确配置Selenium Server Standalone文件,请确保使用与本地系统兼容的文件的正确版本
2)端口可能被其他进程占用,确保侦听Selenium Server Standalone的端口是空闲的,或者你可以强制分配一些其他未被Selenium Server Standalone占用的端口
希望这会起作用