Class MultiStateElementValidatorSD


  • public class MultiStateElementValidatorSD
    extends MultiStateElementValidator
    This is the default implementation of MultiStateElementValidator. Generally you may have to extend this class and implement the following two method as per your custom component. Methods: 1. isStateSelected(String state, int maxIterationsToLocateElements) 2. selectState(String state, int maxIterationsToLocateElements) 3. in your custome validator class you have to fill the valid states in validStates variable. NOTE: Current implementation checks the element attribute value whether it contains the state value.
    Author:
    Madhav Krishna