locked
Selenium Integration RRS feed

  • Question

  • Hi,

    Can we integrate Selenium with TFS 2015. If so please anyone guide me through the same...

    Regards,

    Srivatsa


    Regards, Srivatsa

    Friday, December 11, 2015 5:10 PM

Answers

  • Hi,

    Thanks for posting here.

    What kind of integration for Selenium do you mean? What is your target?

    If you want to run Selenium test in TFS build,

    Firstly, you need to write your own Selenium Test using a script and make sure the script can be run successfully.

    Then add the script path to your TFS2015 build definition to make TFS build run script. As to how to make TFS build run the script, you can refer to MSDN document:

    https://msdn.microsoft.com/en-us/library/dn376353.aspx?f=255&MSPPError=-2147217396

    May


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, December 14, 2015 8:42 AM
    Moderator

All replies

  • Hi,

    Thanks for posting here.

    What kind of integration for Selenium do you mean? What is your target?

    If you want to run Selenium test in TFS build,

    Firstly, you need to write your own Selenium Test using a script and make sure the script can be run successfully.

    Then add the script path to your TFS2015 build definition to make TFS build run script. As to how to make TFS build run the script, you can refer to MSDN document:

    https://msdn.microsoft.com/en-us/library/dn376353.aspx?f=255&MSPPError=-2147217396

    May


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, December 14, 2015 8:42 AM
    Moderator
  • Hi May Wang,

    Thanks for the reply. Will go through the link mentioned above. If anything needed, will revert back to you.

    And 1 more question is, can we integrate Selenium IDE to TFS?

    Regards,

    Srivatsa


    Regards, Srivatsa

    Wednesday, December 16, 2015 6:36 AM
  • Hi,

    Thanks for feedback.

    As far as I know, TFS use MStest.exe to run the test by default. If the selenium test IDE has executable format, you can make it run test instead of MStest through modifying the TFS build template. For example the default InvokeProcess activity in build process template can help you run your exe at the end of a build. Also you can write script to run the exe.

    May


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, December 17, 2015 6:40 AM
    Moderator