Esempio n. 1
0
        public void EchoSimpleString()
        {
            // Arrange
            string txt = "ABC";

            PayLoad PLRequest = new PayLoad("Echo");

            PLRequest.AddValue(txt);
            PLRequest.ClosePackage();

            //Act
            PayLoad PLRC  = mDriver.ExceuteJavaScriptPayLoad(PLRequest);
            string  txtRC = PLRC.GetValueString();

            //Assert
            Assert.AreEqual(PLRC.Name, "Echo Response");
            Assert.AreEqual(txt, txtRC, "txt=txtRC");
        }