aspose file tools*
The moose likes Testing and the fly likes How to capture data (on SERP) that keeps on changing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "How to capture data (on SERP) that keeps on changing" Watch "How to capture data (on SERP) that keeps on changing" New topic
Author

How to capture data (on SERP) that keeps on changing

Ehsan Said
Greenhorn

Joined: Apr 19, 2011
Posts: 3
Hi

I would to like to automate a website. When I make a search for
any holiday. I get some results As shown in the link:

http://www.lowcostholidays.com/flightresults.aspx

The problem is that every other day I get different results on SERP page as the
existing holiday has expired and a new one appears.


For example, if i capture a holiday say ABC, tomorrow a new holiday say XYZ is present
as a result my test failed.

I am using Selenium WebDriver with Java language.

Any help in this case is highly appreciated.

Regards
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30762
    
156

What does SERP stand for?

As far as Selenium, can you test for the presence of ANY holiday rather than certain text?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ehsan Said
Greenhorn

Joined: Apr 19, 2011
Posts: 3
Hi

SERP stands for Search Engine Results Page.

As mentioned earlier, if I capture a certain holiday, that holiday will be expired in a day or two and replaced by a new holiday. As a result my test fails.

Looking forward to your reply.

Regards
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to capture data (on SERP) that keeps on changing