title: Selenium RC gives Error-Object [object HTMLIFrameElement] has no method 'getCurrentWindow' while running the test in Google Chrome
body: <p>I am using Selenium RC and Chrome when I run the test it gives me this error</p>
  <pre><code>error(1340708572726): Unexpected Exception: Object [object HTMLIFrameElement] has no method 'getCurrentWindow'
  </code></pre>
  <p>However I am not always getting this error. Some times the test passes and sometime the very test fails. I changed the Browser to IE and was not getting this error.
  Here is the relevant part of the code</p>
  <pre><code>void editResumeInfo(String objective, String company, String jobDesc, String city, String phoneCountry, String phoneArea, String phoneNumb, String coleg, String certificateName, String certificateLocation, String seminarName, String seminarLocation, String notes){
          selenium.type(&quot;id=objective&quot;, objective)
          selenium.click(&quot;xpath=//html/body/div/div/div[3]/div/div[2]/div[3]/form/div/div/div[2]/div[3]/a&quot;)
          selenium.select(&quot;id=experienceIndustry0&quot;, &quot;label=Health Care&quot;)
          selenium.select(&quot;name=experienceProfession&quot;, &quot;label=Direct Support Professional&quot;)
          selenium.select(&quot;id=experienceStartDate0_month&quot;, &quot;label=May&quot;)
          selenium.select(&quot;id=experienceStartDate0_year&quot;, &quot;label=2006&quot;)
          selenium.select(&quot;id=experienceEndDate0_month&quot;, &quot;label=August&quot;)
          selenium.select(&quot;id=experienceEndDate0_year&quot;, &quot;label=2011&quot;)
          selenium.type(&quot;id=experienceCompany0&quot;, company)
          selenium.type(&quot;id=experienceJobDesc0&quot;, jobDesc)
          selenium.type(&quot;id=experienceAddressCity0&quot;, city)
          selenium.select(&quot;id=experienceAddressCountry0&quot;, &quot;label=Guyana&quot;)
          selenium.type(&quot;id=experiencePhoneCountryCode0&quot;, phoneCountry)
          selenium.type(&quot;id=experienceAreaCode0&quot;, phoneArea)
          selenium.type(&quot;id=experiencePhoneNumber0&quot;, phoneNumb)
          
          selenium.click(&quot;xpath=//html/body/div[2]/div/div[3]/div/div[2]/div[3]/form/div/div/div[3]/div[3]/a&quot;)
          selenium.select(&quot;id=educationLevel0&quot;, &quot;label=Post Graduate&quot;)
          selenium.select(&quot;id=educationDegree0&quot;, &quot;label=Biomedical Science&quot;)
          selenium.type(&quot;id=educationCollege0&quot;, coleg)
          selenium.select(&quot;id=educationGradDate0_year&quot;, &quot;label=2011&quot;)
          selenium.type(&quot;id=certificateName0&quot;, certificateName)
          selenium.type(&quot;id=certificateLocation0&quot;, certificateLocation)
          selenium.select(&quot;id=certificateDate0_month&quot;, &quot;label=May&quot;)
          selenium.select(&quot;id=certificateDate0_year&quot;, &quot;label=2004&quot;)
          
          selenium.click(&quot;xpath=//html/body/div[2]/div/div[3]/div/div[2]/div[3]/form/div/div/div[4]/div[3]/a&quot;)
          selenium.type(&quot;id=seminarName0&quot;, seminarName)
          selenium.type(&quot;id=seminarLocation0&quot;, seminarLocation)
          selenium.select(&quot;name=seminarDate_month&quot;, &quot;label=March&quot;)
          selenium.select(&quot;name=seminarDate_year&quot;, &quot;label=2011&quot;)
          selenium.type(&quot;id=skillNotes&quot;, notes)
          selenium.clickAndWait(&quot;id=submit&quot;)
      }
  </code></pre>
  <p>I am calling this method from</p>
  <pre><code>@Test
      void objectiveFiveThousandInputShowSuccess(){
          values=TestDataController.characterGen(5000)
          editResumeInfo(values, &quot;abcd&quot;, &quot;this is job&quot;, &quot;bangalore&quot;, &quot;91&quot;, &quot;0381&quot;, &quot;232269876&quot;, &quot;IIT&quot;, &quot;test certificate&quot;, &quot;bangalore&quot;, &quot;test seminar&quot;, &quot;delhi&quot;, &quot;note&quot; )
          CheckSuccess()
      }
      
      @Test
      void objectiveFieldOnNullInputShowSuccess(){
          editResumeInfo(&quot;&quot;, &quot;abcd&quot;, &quot;this is job&quot;, &quot;bangalore&quot;, &quot;91&quot;, &quot;0381&quot;, &quot;232698376&quot;, &quot;IIT&quot;, &quot;test certificate&quot;, &quot;bangalore&quot;, &quot;test seminar&quot;, &quot;delhi&quot;, &quot;note&quot; )
          CheckSuccess()
      }
      
      @Test
      void companyFieldOnFiveHundredShowSuccess(){
          values=TestDataController.characterGen(500)
          editResumeInfo(&quot;objective&quot;, values, &quot;this is job&quot;, &quot;bangalore&quot;, &quot;91&quot;, &quot;0381&quot;, &quot;23269876&quot;, &quot;IIT&quot;, &quot;test certificate&quot;, &quot;bangalore&quot;, &quot;test seminar&quot;, &quot;delhi&quot;, &quot;note&quot; )
          CheckSuccess()
      }
  </code></pre>