Hello people, In our application, there are a few text_fields and a save button. When the 'save' button is clicked without giving any input for any of these text fields, the application would display a text, ' * Required' besides the appropriate text field but in the same window. Now, I want to check whether this ' * Required' text is given out besides a text field when the 'save' button is clicked without giving input for that text field. How can I do that? The ' * Required' text is always present in the fourth column of the table cell in which each of the text fields are present. It is present as a 'span' with a few properties, including the 'id' property. No matter whether the ' * Required' text is present or not on the screen, the command 'ie.text' outputs the ' * Required' text because it is permanently present in a table cell. The only indication for the presence of the ' * Required' text is that the change of values for two of the enclosing span's properties named "display(c ss)" and "isValid". When the ' * Required' text is present, the enclosing span's "display(css)" property has a value "none" and the enclosing span's "isValid" property has a value "0". When the ' * Required' text is present, the enclosing span's "display(css)" property has a value "inline" and the enclosing span's "isValid" property has a value "-1". In this situation, how do I check whether the ' * Required' text is actually given out or not?
Thanks in Advance, Vijay _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
