Class LocatorParser


  • @Component
    public class LocatorParser
    extends Object
    Parser for UI locators from YAML files.
    • Constructor Detail

      • LocatorParser

        public LocatorParser()
    • Method Detail

      • setYamlParser

        @Autowired
        public void setYamlParser​(org.yaml.snakeyaml.Yaml yamlParser)
      • parse

        public Map<String,​Map<String,​Map<String,​String>>> parse​(String fileName)
        Parse locators from file.
        Parameters:
        fileName - the path to the file to parse the locators from
        Returns:
        Map structure of the locators