Selenium webdriver for .NET project

Report
Question

Please briefly explain why you feel this question should be reported .

Report Cancel

Hi asktester,

I am investigating and apply automation testing for my .NET project using Selenium Webdriver (C#). I applied Page Object Model but still have some issues below:

1. I dont know how to manage automated test suite . For java we can use TestNG but seem we can not use it with .NET

2. How can we integrate an automated test suite  to CI server (Team City as my case)?

3. How can we have auto test report?

Could you please help me on 3 question above?

Thanks in advanced.

in progress 0
Automation 1 Answer 1191 views 0

Answer ( 1 )

  1. lanhuynh
    1
    November 26, 2015 at 2:20 pm

    Please briefly explain why you feel this answer should be reported .

    Report Cancel
    This comment is edited.
    Hi Kyha,

    I'm not sure if I understand your question correctly, but here is my idea when doing automated test with .Ne

    In Visual Studio, Microsoft provide us the MSTest Unittest and CodedUI framework. I think it's similar with TestNG for Java. Please see here: https://msdn.microsoft.com/en-us/library/ms243147%28v=vs.80%29

    For the CI process, the deployment process from TFS can help us to run the automated test before deploying. Please see here: https://msdn.microsoft.com/en-us/library/ms253138.aspx

    About the test report, when running the test with Visual Studio, we have the trx file (in xml format). And we can generate the visual report in html or excel format later. If you want to have the report automatically, I think the MTM can help. Please see here: https://msdn.microsoft.com/en-us/library/jj635157.aspx

    Hope my idea can help you. If you need more information, please discuss in this page :)

Leave an answer

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

R

About [Kyha]