现在,我设置路径变量
path : D:..;C:\Program Files\Google\Chrome\Application
Chrome : C:\Program Files\Google\Chrome\Application\chromedriver.exe
Run Code Online (Sandbox Code Playgroud)
我可以Chrome在命令行中调用open .
但运行时出错 RIDE
失败:WebDriverException:消息:未知错误:Chrome无法启动:崩溃(驱动程序信息:chromedriver = 2.13.307647(5a7d0541ebc58e69994a6fb2ed930f45261f3c29),platform = Windows NT 6.1 SP1 x86)
testing google-chrome path robotframework selenium-chromedriver
无法启动virtul设备
要启动虚拟设备,请确保您的视频卡支持OpenGL2.0并更新驱动程序.
详细信息:无法创建帧缓冲区图像(错误:15)如果可能,请更新您的视频卡驱动程序
我希望通过使用else获取关键字的值.
例:
String text = ""
If variable > 5
text = "one";
else if variable <5
text = "two";
else
text = "three";
Run Code Online (Sandbox Code Playgroud)
在机器人框架中
我用的是代码
${txt} Set Variable
${txt}= Run Keyword If ${length} > 5 Some Keyword
\ ELSE IF ${length} < 5 Some Keyword
\ ELSE Some Keyword
Log ${txt}
Run Code Online (Sandbox Code Playgroud)
错误!!!
In Keyword ELSE IF ; Keyword name cannot be empty
Run Code Online (Sandbox Code Playgroud) testing automated-tests if-statement python-2.7 robotframework