Example #1
0
        private static void sendHealResult(string pageName, string objectname, string exist)
        {
            HealResult hResult = new HealResult();

            hResult.pageName   = pageName;
            hResult.objectname = objectname;
            hResult.exist      = exist;
            CitsConnect.send(hResult.ToString());
        }
Example #2
0
 private static void sendSpiedObjectToSave(AutomationElement element)
 {
     try
     {
         SpySaveObject sObject = new SpySaveObject();
         Utils.setObjectProperties(element, sObject);
         sObject.objectname = Utils.getObjectName(element, sObject.prop);
         CitsConnect.send(sObject.ToString());
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.ToString());
     }
 }
Example #3
0
 private static void sendSpiedObject(AutomationElement element)
 {
     try
     {
         SpyObject sObject = new SpyObject();
         Utils.dehighlightElement(element);
         Utils.highlightElement(element);
         Utils.setObjectProperties(element, sObject);
         Console.WriteLine(sObject.ToString());
         CitsConnect.send(sObject.ToString());
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.ToString());
     }
 }