Esempio n. 1
0
 internal static void sendSpiedObjectToSave(MSHTML.IHTMLElement element)
 {
     try
     {
         SpySaveObject sObject = new SpySaveObject();
         setObjectProperties(element, sObject);
         sObject.objectname = CognizantITSObject.getObjectName(element, sObject.prop);
         WebSocketClient.send(sObject.ToString());
     }
     catch (Exception ex)
     {
         Util.showNotification(ex.ToString());
     }
 }
Esempio n. 2
0
 internal static void sendRecordedObject(MSHTML.IHTMLElement element, String method)
 {
     try
     {
         RecordObjectElement rObject = new RecordObjectElement();
         rObject.method = method;
         setObjectProperties(element, rObject);
         rObject.objectname = CognizantITSObject.getObjectName(element, rObject.prop);
         WebSocketClient.send(rObject.ToString());
     }
     catch (Exception ex)
     {
         Util.showNotification(ex.ToString());
     }
 }