Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/apache-spark/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在TOSCA中运行现有的Selenium脚本_Selenium_Tosca - Fatal编程技术网

如何在TOSCA中运行现有的Selenium脚本

如何在TOSCA中运行现有的Selenium脚本,selenium,tosca,Selenium,Tosca,如何在TOSCA中运行现有的Selenium脚本?据我所知,TOSCA使用C#作为脚本语言。如果您的selenium脚本是用C#开发的,那么您就可以在TOSCA中运行这些脚本。您需要使用TOSCA下TBox automation tools中的selenium模块 文件夹Selenium包含以下模块: 启动Selenium服务器 运行Selenium脚本 这些模块可用于直接从Tosca Commander启动Selenium测试用例。支持NUnit或JUnit4测试用例。您可以运行包含Selen

如何在TOSCA中运行现有的Selenium脚本?

据我所知,TOSCA使用C#作为脚本语言。如果您的selenium脚本是用C#开发的,那么您就可以在TOSCA中运行这些脚本。

您需要使用TOSCA下TBox automation tools中的selenium模块

文件夹Selenium包含以下模块:

启动Selenium服务器

运行Selenium脚本


这些模块可用于直接从Tosca Commander启动Selenium测试用例。支持NUnit或JUnit4测试用例。您可以运行包含Selenium 1(远程控制)和Selenium 2(WebDriver)测试用例的DLL和JAR文件。有关更多信息

请澄清您的具体问题或添加其他详细信息,以突出显示您所需的内容。正如目前所写的,很难准确地说出你在问什么。请参阅页面以获取澄清此问题的帮助。我在运行JUnit脚本时遇到以下错误。System.ComponentModel.Win32Exception(0x80004005):系统无法在Tricentis.Automation.SpecialExecutionTasks.SeleniumExecution.SimpleProcessHandler.RunProgram的System.Diagnostics.Process.Start(ProcessStartInfo-startInfo)的System.Diagnostics.Process.startInfo-CreateProcess(ProcessStartInfo-startInfo)中找到指定的文件(String exe,String args,String&processOutput,String&processError)。我在运行JUnit脚本时遇到以下错误。System.ComponentModel.Win32Exception(0x80004005):系统找不到在System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo-startInfo)中指定的文件在Tricentis.Automation.SpecialExecutionTasks.SeleniumExecution.SimpleProcessHandler.RunProgram的System.Diagnostics.Process.Start(ProcessStartInfo-startInfo)处(String exe、String args、String&processOutput、String&processError)。