Forum Discussion

Buldog's avatar
Buldog
Occasional Contributor
13 years ago

Firefox app dynamic menu problem

Hi,

I have the problem with dynamic menu. The script press on the menu point. The menu poin i can see on the sceen,. The script check for object existing, object VisibleOnScreen, Visible of the earch menu point, but the TC8 show the property VisibleOnScreen "false". Why is so?



How i can refresh the current object properties?





Maybe you have some idias??



Thanks

7 Replies

  • Hello Veceslavs,


    To refresh properties of an object, you can use the Refresh method. It will update the object properties with the most recent values.


    Please let us know whether this helps.

    Thank you.

  • Buldog's avatar
    Buldog
    Occasional Contributor
    I have the problems with dynamic menu too.

    Refreh didn't help :(

    The error description:

    There was an attempt to perform an action at point (0, 0), which is out of the window bounds.



    The window size is (1, 1); screen rectangle: the left top corner is (0, 138), the right bottom corner is (0, 138).




    I try resive this problem, i put daley before click(), but this didn't help.





     Can you help me?
  • Hello,


    How do you obtain the required menu item in your test? Could you please post here your script code?

    Is the menu actually visible on the screen when the click is performed?

    Thank you.


    In the future, please avoid cross-posting as it makes difficult for us to give consistent answers and coordinate solutions. Thanks!

  • Hi,

    I have a problem with menu click

    The window size is (1, 1); screen rectangle: the left top corner is (0, 108), the right bottom corner is (0, 108). The screen coordinates of the point is (0, 108).



    I can see that click method is called to click on the object and I can see the item on screen.



    Hyperlink_MS    Click    ...    Click 'Manage System' in menu panel.



    Kindly let me know when this issue happens

    1. The object is not visible on screen?

    2 The object properties are not refreshed?
  • Yes I am using Keyword Test. I will check with custom timeouts.

    Thanks for your support.
  • I'm using script test, and get the same error massage.

    The window size is (1, 1); screen rectangle: the left top corner is (0, 76), the right bottom corner is (0, 76).

    The screen coordinates of the point is (0, 76).

    For this row:

    page.Find(Props, Values, 1000).Click();