コード例 #1
0
        /// <summary>
        /// Returns DUT's receiver service address
        /// </summary>
        /// <returns>Receiver service url</returns>
        protected string GetReceiverServiceAddress()
        {
            string address = string.Empty;

            RunStep(() =>
            {
                DeviceClient device = DeviceClient;

                address = device.GetReceiverServiceAddress(Features);

                if (string.IsNullOrEmpty(address))
                {
                    throw new AssertException("The DUT did not return Receiver service address");
                }
            }, "Get Receiver Service address");
            DoRequestDelay();
            return(address);
        }