[英]how to create .exe file in visual studio 2017 for 1 project of selenium using c# having multiple class within it
I am working on a project where I am writing selenium script.我正在开发一个正在编写硒脚本的项目。 I'm writing it in visual studio 2017.I am using c#, NUNIT framework with selenium.
我在 Visual Studio 2017 中编写它。我正在使用带有 selenium 的 c#、NUNIT 框架。 I am having several classes.
我有几节课。 Each class is testing functionality of each page enter image description here .1 class ie Login class is kept as parent class and other classes are inheriting that to login to the web page.
每个类都在测试每个页面的功能在此处输入图像描述.1 类,即登录类保留为父类,其他类继承该类以登录网页。 I want to run the test outside visual studio from command prompt by creating a .exe file for each class.
我想通过为每个类创建一个 .exe 文件,从命令提示符在 Visual Studio 外部运行测试。 In 1 single project I kept all the class files.how to create .exe file in visual studio 2017 for 1 project of selenium using c# having multiple class within it.
在 1 个单个项目中,我保留了所有类文件。如何在 Visual Studio 2017 中为 1 个 selenium 项目创建.exe文件,使用 c# 在其中包含多个类。
Select Release from the Solution Configuration drop-down list, which is on the Standard toolbar.从标准工具栏上的解决方案配置下拉列表中选择发布。 On the Build menu, click Build.
在生成菜单上,单击生成。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.