Skip to content

Commit

Permalink
changes for get device log
Browse files Browse the repository at this point in the history
  • Loading branch information
shai1712 committed Feb 5, 2025
1 parent 38c8ddf commit 15e16de
Showing 1 changed file with 13 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ You may obtain a copy of the License at
limitations under the License.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using amdocs.ginger.GingerCoreNET;
using Amdocs.Ginger.Common;
using Amdocs.Ginger.Common.Repository.ApplicationModelLib.POMModelLib;
Expand All @@ -48,7 +59,6 @@ limitations under the License.
using GingerCore.Actions.VisualTesting;
using GingerCore.Drivers;
using GingerCoreNET.SolutionRepositoryLib.RepositoryObjectsLib.PlatformsLib;
using Microsoft.Graph;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using OpenQA.Selenium;
Expand All @@ -60,17 +70,6 @@ limitations under the License.
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium.Remote;
using RestSharp;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using AppiumInteractions = OpenQA.Selenium.Appium.Interactions;
using File = System.IO.File;
using Image = System.Drawing.Image;
Expand Down Expand Up @@ -1319,8 +1318,8 @@ private void MobileDeviceActionHandler(ActMobileDevice act)

case ActMobileDevice.eMobileDeviceAction.GetDeviceLogs:
string deviceLogsPath = GetDeviceLogs(act.LocalFile.ValueForDriver);
act.AddOrUpdateReturnParamActual("GetDeviceLogPath", deviceLogsPath);
Act.AddArtifactToAction(Path.GetFileName(GetDeviceLogs(act.LocalFile.ValueForDriver).ToString()), act, deviceLogsPath);
act.AddOrUpdateReturnParamActual("DeviceLogFilePath", deviceLogsPath);
Act.AddArtifactToAction(Path.GetFileName(deviceLogsPath), act, deviceLogsPath);
break;

case ActMobileDevice.eMobileDeviceAction.GetSpecificPerformanceData:
Expand Down

0 comments on commit 15e16de

Please sign in to comment.