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.

Imagine that there is a non-trivial logic in the page, for example:

IF element E1 in dropdown D1 is selected THEN button B1 is disabled ELSE B1 is enabled
IF element E2 in dropdown D2 is selected THEN text input T1 is hidden ELSE T1 is visible

We need the code for both:

  1. UI (ASP.NET page)
  2. a test wrapper for this UI following Page object pattern that will be used in automation.

First of all, programming this non-trivial logic on a page is a hassle. Second, code for the wrapper has to be changed after any changes to the UI.

We started thinking that code generation can help us with both problems. My question would be: Did any of you tried doing something like that before? Any recommendations or pointers to relevant information? Thanks

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.