Beispiel #1
0
        public RuntimeInfoProxy RuntimeInfo()
        {
            var ri = (string)Selenium.ExecuteScript("return $('#sfRuntimeInfo').val()");

            if (ri == null)
            {
                return(null);
            }

            return(RuntimeInfoProxy.FromFormValue(ri));
        }
Beispiel #2
0
 protected RuntimeInfoProxy RuntimeInfoInternal(int?index = null)
 {
     return(RuntimeInfoProxy.FromFormValue(Selenium.FindElement(RuntimeInfoLocatorInternal(index)).GetAttribute("value")));
 }
Beispiel #3
0
 public List <Lite <Entity> > GetDataElements()
 {
     return(Selenium.FindElements(By.CssSelector("#" + this.Prefix + " input[type=checkbox]")).Select(cb => RuntimeInfoProxy.FromFormValue(cb.GetAttribute("value")).ToLite(cb.GetParent().Text)).ToList());
 }
Beispiel #4
0
 public RuntimeInfoProxy RuntimeInfo()
 {
     return(RuntimeInfoProxy.FromFormValue((string)Selenium.ExecuteScript("return $('#{0}_divMainControl').data('runtimeinfo')".FormatWith(Prefix))));
 }