If you want to publish a Windows Phone app, the best place to start is of course the official Dev Center for Windows Phone Development from Microsoft. You need to join Microsofts Dev Center which has an annual subscription fee of currently $99 USD. But before joining at Microsofts page you might also have a look at some other programs which include the Windows Phone Developer membership:
Example how to use Selenium with Visual Studio and Visual Basic.NET
(The code in this example is Visual Basic.net but could of course be easily transferred into C#). So we have set up Selenium (as described here) and followed some general tips (as described here). Now it’s time to write our first unit test in Visual Studio using Visual Basic.net and Selenium. We will do a rather simple test but it covers several aspects of web testing. We will write a test to check whether a link to our current domain dotnet-developer.de is returned as first result from bing when we search for “dotnet-developer.de”. So we have to write a webtest with these steps:
- Go to Bing.com
- Enter “dotnet-developer.de” into the search box
- Start search by pressing ENTER or clicking the Search-Button
- Check the first result returned by Bing.com
Helpful tools are Firefox and Firebug. Of course you could write the texts also without these tools but you will see that they will help you a lot, so I recommend to use them.
You could watch a video about the final result on Youtube at http://www.youtube.com/user/dotnetdeveloperde:
Tips and Tricks for Selenium WebTests
After setting up Selenium for usage in Visual Studio Unit Tests as described here, now I want to share some tips for writing your unit tests. These tips should help you during the driver initialization and retrieval of web elements.