Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 public void TearDown()
 {
     this.session.Dispose();
     this.session = null;
 }
Exemplo n.º 3
0
 public void Setup()
 {
     this.session = SitecoreUTSessionBuilder.SessionWithHost(TestEndpointsConfig.InstanceUrl)
                    .BuildSession();
 }