硒网格 +向其注册 RC
我用 ant 启动 hub,我不使用 ant 启动 rc 我想从代码 .iam 调用它,使用 junit 运行 rc 。请 建议我如何??
i started hub with ant ,i dont to start rc using ant instead
i want to invoke it from code .iam using junit to run rc .please
suggest me how??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您确实必须这样做,请查看 build.xml 文件。 “启动远程控制”任务应该为您提供所需的所有信息。您可以看到正在调用的 Java 类以及正在传递的参数。您还需要确保类路径上的供应商/目录中包含所有内容。
If you really must do this, take a look at the build.xml file. The "launch-remote-control" task should give you all the information you need. You can see the Java class being invoked as well as the arguments being passed through. You'll need to make sure you have everything in the vendor/ directory on your classpath, too.