Reputation: 23
i have little experience on eclipse to do test automation using selenium in java,here i used page object pattern.
now i want implement page factory-page object pattern in C# in visual studio for selenium ,this is the first time am going to use visual studio,so struggling to create new project,packages and classes under each package....
i observed while creating a new project in VS,there are many application under visual C# -->Windows Desktop-->here which one i can select? Application are:Windows Forms Application,WPF,Class Library,..
and saw one more place to create Unit Test Project under Visual C#-->Test-->
which one i need to choose to create N unit test for selenium ?Under Test? or Under Windows Desktop?
In java, i can create different packages and different classes to design my framework, but where as in C# i don't see packages concept ,here i know we can use namespace.
my requirement is :
is it possible to design this way in C# using VS-2013?
please help me to design a framework in C#.
Thanks,
Upvotes: 0
Views: 669
Reputation: 167
Yes, namespace in C# like package in Java. In Visual Studio, you can create new folder under project and all of class under this folder will have same namespace.
Upvotes: 1