public void GetAllAPIForClientOne(IWebDriver driver) { ApiUtilityFunction = new APIUtilityFunctions(driver); string response = apiHelper.GetAPIGetMethodResponse(driver, "http://mobiusbttest/api/loans/", "", "3291199122"); string gcid = ApiUtilityFunction.findGCidFormGcidMappingItem(driver, response); string panoramanResponse = apiHelper.GetAPIGetMethodResponse(driver, "http://panoramatest/api/clients/", "", gcid); clientDetail = apiHelper.clientDetailsResult(panoramanResponse); }
public void GetAllAPIForClientTwo(IWebDriver driver) { apiHelper = new CommonAPIHelper(driver); ApiUtilityFunction = new APIUtilityFunctions(driver); string response = apiHelper.GetAPIGetMethodResponse(driver, "http://mobiusbttest/api/loans/", "3", "3396686053"); string gcid = ApiUtilityFunction.findGCidFormSourceReferenceId(driver, response); string panoramanResponse = apiHelper.GetAPIGetMethodResponse(driver, "http://panoramatest/api/clients/", "", gcid); secondClientDetails = apiHelper.SecondClientDetailsResult(panoramanResponse); }