Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automation Solution for both Web and WPF Applications

I wonder if someone has tackled the following challenge:

Automation Testing of a product which consist of both Web Application and WPF desktop application. I'm looking for an automation solution which cover both under the same hood and technology.

for example: I thought of: Selenium + MS UI Automation libraries both under the same automation project by using C# and .NET.

is it possible? are there any other solutions for this type of product?

I know QTP might do it, but lack of good browser support - by far not as good as Selenium. and also lack of solid programming language like JAVA or C#.

appreciate your help on this.

like image 589
auto_roy Avatar asked Dec 05 '25 23:12

auto_roy


1 Answers

It is definitely possible to use Selenium (C#) with MS UI Automation. There would not be much in common besides code that you write yourself, but personally I think that this approach is a good idea if you are a strong programmer. MS UI Automation is not easy at all. An alternative would be to consider Silk4Net. You could use it for web and WCF, but if you wanted to use Selenium for web and Silk4Net for WCF, that would work. Just the plain ole Silk4Net 'library usuage' license is reasonably priced.

like image 54
chrismead Avatar answered Dec 07 '25 15:12

chrismead



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!