public void AddExhibit_CE()
        {
            // Start date is positive number;
            string startDate = "10";

            ecPageObj = new ExhibitControllerComponent(Driver);
            if (ecPageObj.Create(startDate, CE) == false)
            {
                Assert.Fail("Can't add exhibit " + startDate + " CE.");
            }

            exhibitsAdded++;

            // Start date is negative number;
            startDate = "-10";

            ecPageObj = new ExhibitControllerComponent(Driver);
            if (ecPageObj.Create(startDate, CE) == true)
            {
                exhibitsAdded++;
                Assert.Fail("Added exhibit " + startDate + " CE.");
            }
        }
        public void AddTimelineExhibit_CEtoCETimeline()
        {
            // Exhibit's date is BCE and higher, than start and end date of timeline.
            string startDate   = "10";
            string endDate     = "100";
            string contentDate = "110";

            tcPageObj = new TimelineControllerComponent(Driver);
            if (tcPageObj.Create(startDate, CE, endDate, CE) == false)
            {
                Assert.Fail("Can't add timeline from " + startDate + " CE to " + endDate + " CE.");
            }

            timelinesAdded++;

            ecPageObj = new ExhibitControllerComponent(Driver);
            if (ecPageObj.Create(contentDate, BCE) == false)
            {
                Assert.Fail("Can't add exhibit " + contentDate + " BCE.");
            }

            exhibitsAdded++;

            tecPageObj = new TimelineExhibitControllerComponent(Driver);
            if (tecPageObj.Create() == true)
            {
                timelineExhibitsAdded++;
                Assert.Fail("Added exhibit " + contentDate + " BCE to timeline from " + startDate + " CE to " + endDate + " CE.");
            }

            RemoveExhibit();

            // Exhibit's date is BCE and between start and end date of timeline.
            contentDate = "50";

            ecPageObj = new ExhibitControllerComponent(Driver);
            if (ecPageObj.Create(contentDate, BCE) == false)
            {
                Assert.Fail("Can't add exhibit " + contentDate + " BCE.");
            }

            exhibitsAdded++;

            tecPageObj = new TimelineExhibitControllerComponent(Driver);
            if (tecPageObj.Create() == true)
            {
                timelineExhibitsAdded++;
                Assert.Fail("Added exhibit " + contentDate + " BCE to timeline from " + startDate + " CE to " + endDate + " CE.");
            }

            RemoveExhibit();

            // Exhibit's date is BCE and lower than start and end dates of timeline.
            contentDate = "9";

            ecPageObj = new ExhibitControllerComponent(Driver);
            if (ecPageObj.Create(contentDate, BCE) == false)
            {
                Assert.Fail("Can't add exhibit " + contentDate + " BCE.");
            }

            exhibitsAdded++;

            tecPageObj = new TimelineExhibitControllerComponent(Driver);
            if (tecPageObj.Create() == true)
            {
                timelineExhibitsAdded++;
                Assert.Fail("Added exhibit " + contentDate + " BCE to timeline from " + startDate + " CE to " + endDate + " CE.");
            }

            RemoveExhibit();

            // Exhibit's date is CE and lower than end and start dates of timeline.
            contentDate = "9";

            ecPageObj = new ExhibitControllerComponent(Driver);
            if (ecPageObj.Create(contentDate, CE) == false)
            {
                Assert.Fail("Can't add exhibit " + contentDate + " CE.");
            }

            exhibitsAdded++;

            tecPageObj = new TimelineExhibitControllerComponent(Driver);
            if (tecPageObj.Create() == true)
            {
                Assert.Fail("Added " + contentDate + " CE to timeline from " + startDate + " CE to " + endDate + " CE.");
                timelineExhibitsAdded++;
            }

            RemoveExhibit();

            // Exhibit's date is CE and greater than end and start dates of timeline.
            contentDate = "110";

            ecPageObj = new ExhibitControllerComponent(Driver);
            if (ecPageObj.Create(contentDate, CE) == false)
            {
                Assert.Fail("Can't add exhibit " + contentDate + " CE.");
            }

            exhibitsAdded++;

            tecPageObj = new TimelineExhibitControllerComponent(Driver);
            if (tecPageObj.Create() == true)
            {
                Assert.Fail("Added " + contentDate + " CE to timeline from " + startDate + " CE to " + endDate + " CE.");
                timelineExhibitsAdded++;
            }

            RemoveExhibit();

            // Exhibit's date is CE and between end and start dates of timeline.
            contentDate = "50";

            ecPageObj = new ExhibitControllerComponent(Driver);
            if (ecPageObj.Create(contentDate, CE) == false)
            {
                Assert.Fail("Can't add exhibit " + contentDate + " CE.");
            }

            exhibitsAdded++;

            tecPageObj = new TimelineExhibitControllerComponent(Driver);
            if (tecPageObj.Create() == false)
            {
                Assert.Fail("Can't add " + contentDate + " CE to timeline from " + startDate + " CE to " + endDate + " CE.");
            }

            timelineExhibitsAdded++;

            RemoveExhibit();
        }