I am testing an app that loads an email in an iframe. Next to the iframe is a long list of options (hundreds of options). Writing text in an option updates email text in the iframe. selecting a border color from the options changes the border color in the iframe, and on, and on.

We have a dozen email templates, and each one has several dozen to hundreds of options. Testing is critical because occasionally there are duplicate fields that do nothing and other bugs having to do with the kinds of emails we are building.

Even using page objects this is incredibly long. In this situation do testers write a script for each option, or do they write a function that crawl all inputs, write some text in them depending on what the input is supposed to do (by checking label heading), and then switch to iFrame to find a change?

closed as unclear what you're asking by Shailendra Rathore, NarendraC, IAmMilinPatel, Yu Zhang, Bharat Mane Jan 25 '17 at 9:16

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Rup, I'm not sure your title matches your question. Your title makes me think it isn't an answerable question. Your question is totally on point. – corsiKa Jan 25 '17 at 2:29