public void Setup()
        {
            client = new ETClient();

            var campObj = new ETCampaign
            {
                AuthStub    = client,
                Name        = "Created for testing campaign asset test cases in C#",
                Description = "Test Description"
            };

            var result = campObj.Post();

            campaign = (ETCampaign)result.Results[0].Object;
        }
Exemplo n.º 2
0
        public void CampaignSetup()
        {
            campaignName = Guid.NewGuid().ToString();
            campaignDesc = "Campaign created using C# automated test case";

            var campObj = new ETCampaign
            {
                AuthStub    = client,
                Name        = campaignName,
                Description = campaignDesc
            };

            var result = campObj.Post();

            campaign = (ETCampaign)result.Results[0].Object;
        }