<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Peter,<br>
      <br>
      Did you read the link I sent? I ask because I've never used
      Seleneum before, but this part really caught my eye:<br>
      <blockquote>In AJAX driven web applications, data is retrieved
        from server without refreshing the page. Using andWait commands
        will not work as the page is not actually refreshed. Pausing the
        test execution for a certain period of time is also not a good
        approach as web element might appear later or earlier than the
        stipulated period depending on the system&#8217;s responsiveness, load
        or other uncontrolled factors of the moment, leading to test
        failures. <b>The best approach would be to wait for the needed
          element in a dynamic period and then continue the execution as
          soon as the element is found.</b><b><br>
        </b><b><br>
        </b><b>This is done using waitFor commands, as
          waitForElementPresent or waitForVisible, which wait
          dynamically, checking for the desired condition every second
          and continuing to the next command in the script as soon as
          the condition is met.</b><br>
      </blockquote>
      The overlays load iFrames, which can always be cumbersome to work
      with, but that last paragraph was the key. I went ahead and
      installed Selenium and came up with this real quick:<br>
      <br>
      open | (url)<br>
      click | id=toolbar-link-admin-people<br>
      waitForElementPresent | xpath=//iframe[contains(@title, 'People
      dialog')]<br>
      selectFrame | xpath=//iframe[contains(@title, 'People dialog')]<br>
      click | xpath=//ul[contains(@class, 'action-links')]/li/a<br>
      <br>
      Like wise if you want to click the Permissions tab, change the
      last click to :<br>
      <br>
      xpath=//ul[contains(@id, 'overlay-tabs')]/li[last()]/a<br>
      <br>
      Considering every element doesn't have an ID, I decided to use
      xpath, as I know that.<br>
      <br>
      Tested in FF 26 with Selenium IDE 2.5.0 on local D7 site as well
      as a hosted one.<br>
      <pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://hollyit.net">http://hollyit.net</a></pre>
      On 1/27/2014 6:15 PM, Peter Kehl wrote:<br>
    </div>
    <blockquote
cite="mid:CADGQzOKuqf8FpkUNct9HdXonQi=CmfkBWfAaECqCyY3X3423=A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Jamie,<br>
            <br>
          </div>
          I had done my homework. 'People' tab link can't be located by
          Selenium IDE, whether I use waitForXXX or pause for any long
          period. That's why I've asked here.<br>
        </div>
        <div>
          <div><br clear="all">
            <div>
              <div>
                <div>-Peter Kehl<br>
                  <br>
                  <pre><a moz-do-not-send="true" href="http://docs.seleniumhq.org/docs/02_selenium_ide.jsp#the-waitfor-commands-in-ajax-applications">http://docs.seleniumhq.org/docs/02_selenium_ide.jsp#the-waitfor-commands-in-ajax-applications</a>

Jamie Holly</pre>
                  <br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>