Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Does anybody have an application under test (AUT) that uses a mixture of HTML and Silverlight controls, which they have successfully automated?

My AUT web app has screens with a mixture of HTML and Silverlight, and this requires silverlight to run in Windowless mode.

But, this apparently makes the Silverlight elements opaque to automation (according to Ranorex). I've tried a few different automation tools now, without success (they are unable to distinguish elements within the Silverlight area). Before I waste my time trying and failing with every tool there is, does anybody have any experience of this at all?

share|improve this question

This question has an open bounty worth +100 reputation from xxx ending in 2 days.

This question has not received enough attention.

    
Dmitry's answer below is correct. In addition, a Silverlight plug-in in windowless mode is only an issue if the there is a layer of html displayed over it. If it is the top layer, you shouldn't see any issues. If it is not the top layer, that means that you would not need to interact directly with the Silverlight elements because as a user, the html layer would be intercepting all clicks anyways, and you would just interact with those instead. –  Sam Woods yesterday
add comment

1 Answer 1

TestComplete should be able to access internal Silverlight properties, even in Windowless mode.
At the same time it allows to perform functional web testing [1, 2].


And another tip.

Unit tests usually run against SilverLight's Windowless mode. So you can look for Silverlight unit-testing tools and use them in collaboration with web testing tools, e.g. with Selenium WebDriver.

share|improve this answer
    
Thanks Dmitry; I'm afraid I can't confirm whether TestComplete would work on the app I was testing, as I am on a different job now. –  vincebowdren yesterday
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.