jQuery in Action, 3rd edition
The moose likes Testing and the fly likes Selenium RC test with ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » Testing
Bookmark "Selenium RC test with ajax" Watch "Selenium RC test with ajax" New topic

Selenium RC test with ajax

chandrap prakash

Joined: Sep 19, 2008
Posts: 28
i am using fitnesse fraimwork and selenium RC for web UI testing.

In some pages of my application some text/images are loding through the ajax call. So in my wiki pages i am testing these messages which are loding through the ajax.

here selenium doesn't give a call to ajax.so my selenium test is fail.
I am using the following wiki page code:

|Page contains Label|Uploaded|

actually 'bodyMain_thumbnails' div is loading through ajax at run time with "Uploaded" message.

and my fixture code is like:
public void setWaitTimeout(String milliSec)
String locator="//div[@id='bodyMain_title']";

So,please could anybody look into this, and give your valuabe response to me.
while testing if i look into selenium RC browser insted of ajax call being executed it's loading the "login page". in our application if a page fails to load or timeout it is redirect to login page.here it is evdient that either the ajax call is not executed.

it's very urgent.


Have you checked out Aspose?
subject: Selenium RC test with ajax
It's not a secret anymore!