Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 628483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:38:31+00:00 2026-05-13T19:38:31+00:00

How can I write a Visual Studio WebAii Test that waits for a jQuery

  • 0

How can I write a Visual Studio WebAii Test that waits for a jQuery animate operation to complete before continuing?

Currently I’m just pausing for 5 seconds using a loop, but this is prone to breaking easily if the animation time changes.

I’ve tried some wait methods in the WebAii API but none of them seem to wait for that kind of thing. I think the closest I’ve come is Actions.WaitForElement(..) however the element that’s being animated is already in the DOM so this doesn’t seem to work. The wait methods also seem obscure to me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:38:31+00:00Added an answer on May 13, 2026 at 7:38 pm

    Can you edit the javascript in order to add a callback function to the jQuery animate() call? If so, this would allow you to put in a hook that you can more easily detect with the WebAii API. You could, for example, have the callback on the animation add an (invisible) element to the DOM and then use the WaitForElement method to detect that. Somewhat of a kludge but it would work!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I write C# application using Visual Studio 2010 that runs in background?
Using Microsoft Visual Studio 2010: Can I write this type of macro in C?
When using Visual Studio, I can write a container traversal in at least the
I am working in Visual Studio 2010, and I can go through and write
Environment: Visual Studio 2008 SP1 How can I write the following regex? I'm trying
i'm practicing c and looking to use visual studio. but can I write console
I'm about to write a Visual Studio Add-In (target environment: VS2010) that should enable
How can i write application installation path with Visual Studio Setup Project?
How can I write a wizard in Visual Studio/.NET to generate code and insert
when i write mockup in visual studio i found in intellesense that some tags

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.