| || |
Validate Minimized HTML Sections
Need a little help here. I have multiple html sections on a page that when clicked, it will minimize the section. This is an application form with many applicants. I am trying to find the best way to validate that the section actually did minimize. I thought initially of doing IsPresent but that will not work because the elements still exist and just hidden from view.
I should have also said this is in C#.
You would have to look for element properties that change whenever a section is minimized, be it either for the section as a whole or individual elements within that section. For instance, if any of the elements have their CSS visibility property set to hidden, or their display property set to none (of which the latter is more probable I think when you're minimizing), you could use the isVisible() method on that element to assert it isn't displayed anymore.
Hope that helps.
Originally Posted by basd
appreciate the help. I will take a look at it on Tuesday and see if I can find the element.