title: How to search by table column that has spaces in the name?
body: <p>I am building a test that is supposed to search through a table and find an object based on the column name. The problem is, the column name has a space in it, for example: "Friendly name"</p>
  
  <p>I am simply wondering how to get the atata framework to find this. Custom search parameters like  <code>[Term("Friendly name")]</code> are not working in table objects. </p>
  
  <p>I've also tried to use <code>[Term(TermCase.Sentence)]</code>, and it does compile but doesn't work with tables either. I am not super familiar with atata yet to know how to get this to work properly. The compiler is "Unable to locate visible column".</p>
  
  <p>Here is the test code line: </p>
  
  <pre><code>pageObject.Table.Rows.Count.Get(out count).
      Table.Rows[x =&gt; x.Friendly name == "OBJECTNAME"].Click().
  </code></pre>
  
  <p>Any advice would be greatly helpful.</p>
  
  <pre><code>&lt;thead class="MuiTableHead-root-325"&gt;
  &lt;tr class="MuiTableRow-root-326 MuiTableRow-head-329"&gt;
  &lt;th class="MuiTableCell-root-331 MuiTableCell-head-332" scope="col"&gt;Column name&lt;/th&gt;
  &lt;th class="MuiTableCell-root-331 MuiTableCell-head-332" scope="col"&gt;Column name2&lt;/th&gt;
  &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
  &lt;tr class="MuiTableRow-root-326"&gt;
  &lt;td class="MuiTableCell-root-331 MuiTableCell-body-333"&gt;TESTCELL&lt;/td&gt;
  &lt;td class="MuiTableCell-root-331 MuiTableCell-body-333"&gt;TESTCELL2&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/tbody&gt;
  
  </code></pre>
  
  <p>Xpath example: <code>div[@id="root"]/div[2]/main/div[2]/div/div/table/tbody/tr[12]/td[1]</code></p>
  
  <p>As you can see, there isn't much in the elements I can work with. These tables are generated dynamically so the information may be moved or deleted, but for the testing purposes, this isn't much of an issue.</p>
  
  <pre><code>{
      using _ = Example;
  
      public class Example : Page&lt;_&gt;
      {
          public Table&lt;ExampleTableRow, _&gt; Table { get; private set; }
  
          public class ExampleTableRow : TableRow&lt;_&gt;
          {
              [Term(TermCase.Sentence)]
              public Text&lt;_&gt; ColumnName { get; private set; }
              public Clickable&lt;_&gt; Edit { get; private set; }
          } 
          [FindByXPath("div[@id='root']/div[2]/path/input")]
          public TextInput&lt;_&gt; RenameTest { get; private set; }
      }
  }
  
  and the class..
  
  int count;
              Go.To&lt;ExampleTable&gt;().
              Table.Rows.Count.Get(out count).
              Table.Rows[x =&gt; x.ColumnName == "Friendly name"].Edit.Click().
              RenameTest.Set("Reanametest").
  </code></pre>