Rollover and scrolling

Rollover and scrolling

Home Forums Ask Expert Rollover and scrolling

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32203
    Sasha ZAP
    Moderator

      Hello virgil,

      First you need to add a new object (no matter where), and during runtime using the method “SetProperty” the test will change its “Text” property’s value into the expected title to find.

      Regarding the ScrollWheel issue, basically you can also use the KeyPress method, for example in JavaScript:
      Application(“Application”).KeyPress(34);//34 = The keyboard key “Page Down”

      Then you can check and verify in each of the page’s scrolled sections if the object you’ve specified exists.

      Hope this help.

      Thanks,
      ZAPTEST Team

      #32205
      Virgil Carroll
      Participant

        Thanks. That was better.

        When I get to the right location I want to move the mouse over the Object so the rollover function will be activated. I tried getting the
        Object.GetRuntimeX() and Object.GetRuntimeY(), but they always return the value 0. But I can get the width and height

        Is RuntimeX and Y only an enterprise feature?

        The object I am using is an image object

        #32206
        Sasha ZAP
        Moderator

          Hello virgil,

          Basically the RuntimeX and Y methods are also available in the Free Edition as well:
          If ZAPTEST cannot find the object during runtime the RuntimeX and Y methods’ values will return 0.

          The problem in your site (https://www.highmonkey.com/work) is that the titles are hidden behind the images and only by placing the mouse on an image the title will reveal itself:
          In such case the only possible solution is to run the mouse through all images until the required title will appear (It is very difficult to locate an object only by its image).

          Thanks,
          ZAPTEST Team

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.

        Virtual Expert

        ZAPTEST

        ZAPTEST Logo