private void CreateSession() { var defaultInteraction = UTEntitiesBuilder.Interaction() .ChannelId("27b4e611-a73d-4a95-b20a-811d295bdf65") .Initiator(InteractionInitiator.Contact) .Contact("jsdemo", "demo") .Build(); this.session = SitecoreUTSessionBuilder.SessionWithHost("https://sitecore.tracking.collection.service") //https://utwebtests .DefaultInteraction(defaultInteraction) .DeviceIdentifier(UIDevice.CurrentDevice.IdentifierForVendor.ToString()) .BuildSession(); }
public void TearDown() { this.session.Dispose(); this.session = null; }
public void Setup() { this.session = SitecoreUTSessionBuilder.SessionWithHost(TestEndpointsConfig.InstanceUrl) .BuildSession(); }