English 中文(简体)
UI automated testing within SharePoint
原标题:

I m looking for automated Functional Testing tools that can manipulate SharePoint sites, libraries, and documents thought the web interface. It needs to be extensible enough to handle any custom pieces that are added later. This does not need to be specifically for sharepoint, but it is necessary that it is to work within a SharePoint context. I saw someone post up about Selenium in another thread, I am not too familiar with that product. Any help is appreciated.

最佳回答

Have a crack with Visual Studio 2010. It is in Beta now, so downloadable. It has a new product that will create web front end tests.

问题回答

The company that I am currently at is using Selenium (link) and being fairly successful. According to what I understand about the product, Selenium should be a fine tool for testing SharePoint sites.

At a previous company, we used WatiN (link), which proved to be easier to use and more seamless than Selenium due to the fact that it s implemented in .NET. Selenium, on the other hand, is implemented with java with the option to use .NET assemblies to communicate with the Selenium engine.

Hope this helps. Good luck!

I have just created a guidance project http://sharetest.codeplex.com. You may find some useful stuff in there!

Take a look at this book on scripted GUI testing with Ruby.

I work in PHP and my group has been using Selenium with some success over the past year as well. It allows you to easily write/record automated UI tests (you can get plugins for Firefox, for example, which let you record tests right from the browser), and retrieve document values for comparison.





相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签