Amresh S

Amresh S

  • NA
  • 437
  • 17.1k

How to get pop-up window's components?

Dec 20 2016 12:02 PM
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)