public void B_CampaignLogSummaryMainMethodCodeGenerator() { int dataSetIndex = 1; Extension.OpenDBConnection(); QueryArrayAllAPI.queryArrayAllAPI[0] = Utils.ExcelUtil.ReadData(1, "Query") + " " + Utils.ExcelUtil.ReadData(1, "Limit"); Extension.ExecuteQueryAPICodeGenerator(SqlConnectionInstance.SqlConnection, dataSetIndex); CreateJsonRequestInputGenerator.CreateJson(DataSetPropertyFill.dataSetPropertyFill, "CampaignLogSummary"); Thread.Sleep(2000); }
public void E_StartNewAdSessionMainInputGenerator() { int test = 0; int dataSetIndex = 1; Extension.OpenDBConnection(); QueryArrayAllAPI.queryArrayAllAPI[0] = Utils.ExcelUtil.ReadData(6, "Query") + " " + Utils.ExcelUtil.ReadData(1, "Limit"); Extension.ExecuteQueryAPICodeGenerator(SqlConnectionInstance.SqlConnection, dataSetIndex); CreateJsonRequestInputGenerator.CreateJson(DataSetPropertyFill.dataSetPropertyFill, "StartNewAdSession"); Thread.Sleep(2000); }
public void C_RecordClicksFromDeviceMainMethodCodeGenerator() { int test = 0; int dataSetIndex = 2; Extension.OpenDBConnection(); QueryArrayAllAPI.queryArrayAllAPI[0] = Utils.ExcelUtil.ReadData(7, "Query") + " " + Utils.ExcelUtil.ReadData(1, "Limit"); QueryArrayAllAPI.queryArrayAllAPI[1] = Utils.ExcelUtil.ReadData(7, "AppKey") + " " + Utils.ExcelUtil.ReadData(1, "Limit"); Extension.ExecuteQueryAPICodeGenerator(SqlConnectionInstance.SqlConnection, dataSetIndex); CreateJsonRequestInputGenerator.CreateJson(DataSetPropertyFill.dataSetPropertyFill, "RecordClicksFromDevice"); Thread.Sleep(2000); }
public void F_SyncUserDeviceMainMethodCodeGenerator() { int test = 0; int dataSetIndex = 2; DataCollectionAPIKeys.URLSDK = Utils.ExcelUtil.ReadData(2, "URL"); Extension.OpenDBConnection(); QueryArrayAllAPI.queryArrayAllAPI[0] = Utils.ExcelUtil.ReadData(2, "Query") + " " + Utils.ExcelUtil.ReadData(1, "Limit"); QueryArrayAllAPI.queryArrayAllAPI[1] = Utils.ExcelUtil.ReadData(2, "adID") + " " + Utils.ExcelUtil.ReadData(1, "Limit"); Extension.ExecuteQueryAPICodeGenerator(SqlConnectionInstance.SqlConnection, dataSetIndex); CreateJsonRequestInputGenerator.CreateJson(DataSetPropertyFill.dataSetPropertyFill, "SyncUserDevice"); Thread.Sleep(2000); }
public void D_SaveNetworkrStatsMainMethodCodeGenerator() { int test = 0; int dataSetIndex = 2; int count = DataTableCollectionLoop.tableCollection.Rows.Count; DataCollectionAPIKeys.URLSDK = Utils.ExcelUtil.ReadData(3, "URL"); Extension.OpenDBConnection(); QueryArrayAllAPI.queryArrayAllAPI[0] = Utils.ExcelUtil.ReadData(3, "Query") + " " + Utils.ExcelUtil.ReadData(1, "Limit"); QueryArrayAllAPI.queryArrayAllAPI[1] = Utils.ExcelUtil.ReadData(3, "adID") + " " + Utils.ExcelUtil.ReadData(1, "Limit"); Extension.ExecuteQueryAPICodeGenerator(SqlConnectionInstance.SqlConnection, dataSetIndex); CreateJsonRequestInputGenerator.CreateJson(DataSetPropertyFill.dataSetPropertyFill, "SaveNetworkStats"); Thread.Sleep(2000); }
public void G_SyncAppunityMainMethodCodeGenerator() { int test = 0; int dataSetIndex = 7; DataCollectionAPIKeys.URLSDK = Utils.ExcelUtil.ReadData(6, "URL"); Extension.OpenDBConnection(); QueryArrayAllAPI.queryArrayAllAPI[0] = Utils.ExcelUtil.ReadData(5, "Query") + " " + Utils.ExcelUtil.ReadData(1, "Limit"); QueryArrayAllAPI.queryArrayAllAPI[1] = Utils.ExcelUtil.ReadData(5, "adID"); QueryArrayAllAPI.queryArrayAllAPI[2] = Utils.ExcelUtil.ReadData(5, "failOverAdID"); QueryArrayAllAPI.queryArrayAllAPI[3] = Utils.ExcelUtil.ReadData(5, "failOverAdIDBanner"); QueryArrayAllAPI.queryArrayAllAPI[4] = Utils.ExcelUtil.ReadData(5, "failOverAdIDNative"); QueryArrayAllAPI.queryArrayAllAPI[5] = Utils.ExcelUtil.ReadData(5, "failOverAdIDRewardedVideo"); QueryArrayAllAPI.queryArrayAllAPI[6] = Utils.ExcelUtil.ReadData(5, "sdkVersion") + " " + Utils.ExcelUtil.ReadData(1, "Limit"); Extension.ExecuteQueryAPICodeGenerator(SqlConnectionInstance.SqlConnection, dataSetIndex); CreateJsonRequestInputGenerator.CreateJson(DataSetPropertyFill.dataSetPropertyFill, "SyncAppUnity"); }