Using Selenium IDE For testing jQuery Animation

This post can help you sorting out following problems

  1. Test jQuery Animation using Selenium
  2. Test Style Information Using Selenium
  3. Test an element attribute Information Using Selenium

Willing to test jQuery animation using selenium IDE. Here is how you can do that.

Command – waitForElementPresent

css=#right[style=’left: 8%; right: 50%;’]

Value – Leave it blank

The above command will target an element with id=right and will look for its style information.

In my case left animates from 50% to 8% and right animates from 100% to 50%

Got another trick please post in comment i will merge in the article or got more question feel free to reach me!!

Cheers

Tarun Juneja

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s