Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
Validate SwfButton whether it is blinking or not.
posted

The Application has a swfbutton which when clicked is blinking. I need to validate whether the button is blinking or not. Is there any way where i can validate the same.

  • 53790
    posted

    Hi,

    Maybe one possible approach to check if  "blinking" your button on pressed state, could be to check what is the appearance on pressed state. For example:

    SwfWindow("Form1").SwfButton("ultraButton1").Click
    SwfWindow("Form1").SwfButton("ultraButton1").CheckProperty "PressedAppearance.BackColor", "Color [Red]", 30
    SwfWindow("Form1").SwfButton("ultraButton1").Click
    SwfWindow("Form1").SwfButton("ultraButton1").CheckProperty "PressedAppearance.BackColor", "Color [Lime]", 30

    Please take a look at the attached video file for more details and let me know if you have any questions.

    Regards