public void Tenants_SearchingStartsWithAsterisk()
 {
     storeResults = true;
     searchTerm = "*" + Test.extRef.Substring(1);
     PO_TenantsPopUp referenceDatas = new PO_TenantsPopUp();
     referenceDatas.SearchTenants(searchTerm);
     Util.CheckIfTextPresented(Test.extRef);
     Test.result = "Passed";
 }
 public void Tenants_SearchingEndsWithAsterisk()
 {
     storeResults = true;
     searchTerm = Test.extRef.Remove(Test.extRef.Length - 3) + "*";
     PO_TenantsPopUp referenceDatas = new PO_TenantsPopUp();
     referenceDatas.SearchTenants(searchTerm);
     Util.CheckIfTextPresented(Test.extRef);
     Test.result = "Passed";
 }
 public void Tenants_SearchingFullName()
 {
     storeResults = true;
     searchTerm = Test.extRef;
     PO_TenantsPopUp referenceDatas = new PO_TenantsPopUp();
     referenceDatas.SearchTenants(searchTerm);
     Util.CheckIfTextPresented(Test.extRef);
     Test.result = "Passed";
 }
 public void Tenants_SearchingEndsAndStartsWithAsterisk()
 {
     storeResults = true;
     string substracted = "*" + Test.extRef.Substring(1);
     searchTerm = substracted.Remove(substracted.Length - 2) + "*";
     PO_TenantsPopUp referenceDatas = new PO_TenantsPopUp();
     referenceDatas.SearchTenants(searchTerm);
     Util.CheckIfTextPresented(Test.extRef);
     Test.result = "Passed";
 }