예제 #1
0
        public BaseSteps()
        {
            //var url = String.Format("{0}/product/search/{1}/", "http://asos-pp-eun-pdt-search-api.cloudapp.net", "V1");
            var url = String.Format("{0}/product/search/{1}/", "http://searchapi.asos.com/", "V2");

            this.Client = new DynamicRestClient(new Uri(url));
        }
예제 #2
0
        public SharedContext()
        { //to more commenbst
            // Reading the endpoint details from app.config file.
            var endpoint = ConfigurationManager.AppSettings["ENDPOINT"];
            var url      = String.Format("{0}/product/search/{1}/", endpoint, "V1");

            Client = new DynamicRestClient(new Uri(url));
        }