Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Ehsan Said
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does SERP stand for?

As far as Selenium, can you test for the presence of ANY holiday rather than certain text?
 
Ehsan Said
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!