title: Could not find matching constructor for: java.util.ArrayList(java.awt.Dimension)
body: <p>Unable to return ArrayList values to test case </p>
  
  <p>Error : <code>Could not find matching constructor for: java.util.ArrayList(java.awt.Dimension)</code></p>
  
  <p><strong>My code:</strong></p>
  
  <p>Keyword:</p>
  
  <pre><code>public ArrayList&lt;Integer&gt; othersites() {
  
          String[] sits = new String[9];
          sits[0] = "https://www.tadawul.com.sa/wps/portal/tadawul/home/";
          sits[1] = "https://www.msm.gov.om/";
  
          WebUI.navigateToUrl(sits[0]);
          String tdwl = WebUI.getText(findTestObject('ObjectRepository/Sites/site_tdwl'),FailureHandling.CONTINUE_ON_FAILURE)
          String[] parts0 = tdwl.split("\\.")
          String part0 = parts0[0]; // 00
          String part00 = Integer.parseInt(part0.replaceAll(",", ""))
          .
          .
  
          List&lt;String&gt; list = new ArrayList&lt;String&gt;();
          list.add(part00);
          list.add(part11);
  
          List&lt;Integer&gt; newList1 = new ArrayList&lt;Integer&gt;(list.size()) ;
          for (String myInt1 : list)
          {
            newList1.add(Integer.valueOf(myInt1));
          }
  
          return newList1
  
      }
  } 
  </code></pre>
  
  <p>Customkeyword :</p>
  
  <p><code>CustomKeywords.'decypha_equities.otherSiteValuesCapture.othersites'()</code></p>
  
  <p>Expected result :[8566, 3869, 6606, 9806, 2791, 14304, 1529, 1847, 5028]</p>
  
  <p>Actual result : Could not find matching constructor for: java.util.ArrayList(java.awt.Dimension)</p>