Results 1 to 4 of 4

Thread: Event recorder can't properly reference elemets

  1. #1
    freightgateone
    Guest

    Default Answered: Event recorder can't properly reference elemets

    Hello,
    I am currently learning to use sencha test from the automation engineer perspective.

    When creating a test and starting the event recorder the page opens as desired and the recorder starts recording.

    However, no matter with which element on the HTML page I interact with the recorder logs it the following:

    Code:
    { type: "tap", target: "@/frame", x: 574, y: 428 }
    The action type, mouse movement and keyboard input get traced properly - just the target is the same for every element

    HTML Code:
    <input type="submit" name="auth_logon_op" id="go" value="Log in">
    What could be he prolem here?

  2. The page is using frames, so that will cause an issue for Sencha Test. In order for it to work, you would need to access the individual frame's URL directly in the browser, to bypass the outer frames. Depending on the reasoning for using frames, I'm not sure whether that's an option for you or not.

  3. #2
    Sencha - Sales Team daniel.gallo's Avatar
    Join Date
    Apr 2009
    Location
    Redwood City, CA
    Posts
    332
    Answers
    52

    Default

    Is the area in which you're clicking an Iframe? Iframes are not supported by Sencha Test, so it wouldn't be able to go deeper than the Iframe element when attempting to detect which elements are clicked.
    Daniel Gallo
    Senior Solutions Architect
    Sencha Inc.

  4. #3
    freightgateone
    Guest

    Default

    HTML Code:
    <frameset frameborder="0" framespacing="1"  name="frame"...>
         <frame name="frame" ...>
              ...
    Just looked it up, seems like that might be the case, right?

    Is there another way to locate and acces these html elements if placed inside an frame?

  5. #4
    Sencha - Sales Team daniel.gallo's Avatar
    Join Date
    Apr 2009
    Location
    Redwood City, CA
    Posts
    332
    Answers
    52

    Default

    The page is using frames, so that will cause an issue for Sencha Test. In order for it to work, you would need to access the individual frame's URL directly in the browser, to bypass the outer frames. Depending on the reasoning for using frames, I'm not sure whether that's an option for you or not.
    Daniel Gallo
    Senior Solutions Architect
    Sencha Inc.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •