2
Answers

How to get pop-up window's components?

Amresh S

Amresh S

7y
309
1
Hi All,
 
I'm writing unit test cases for my projects and I'm facing a problem with pop-up windows. I need to check whether the pop-up window gets loaded with default values in it's components (textBoxes, comboBoxes). Since, Unit test cases are entirely code-behind and no UI is supported, it returns "XamlParserException" while executing the Initializecomponent() method.
 
How can I rectify this exception? Does anyone faced such kind of same problem?
 
Kindly share your ideas.
 
Regards,
Amresh S. 
Answers (2)