简体   繁体   中英

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. 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. I want to run the test outside visual studio from command prompt by creating a .exe file for each class. 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.

Select Release from the Solution Configuration drop-down list, which is on the Standard toolbar. On the Build menu, click Build.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM