Top 35 inspirational movies

Learn by examples

Learn by examples

 

Take this code from PasteBIN

 

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class TestTop35inspirationalmovies {

public static String StartString=null;
 public static String EndString=null;


 public static void main(String[] args) {

 WebDriver myTestDriver = new FirefoxDriver();
 myTestDriver.manage().window().maximize();

myTestDriver.navigate().to("http://www.imdb.com/list/GyzpQ_PZLcg/");

 StartString = "//*[@id='main']/div/div[7]/div[";
 EndString = "]/div[3]/b/a";

 for(int i=1;i<=35;i++){
 System.out.println(myTestDriver.findElement(By.xpath(StartString + i + EndString)).getText());
 System.out.println(myTestDriver.findElement(By.xpath(StartString + i + EndString)).getAttribute("href"));;

 }

 myTestDriver.quit();

 }

}

 

Output:

 

Dead Poets Society
http://www.imdb.com/title/tt0097165/
Rain Man
http://www.imdb.com/title/tt0095953/
Philadelphia
http://www.imdb.com/title/tt0107818/
The Shawshank Redemption
http://www.imdb.com/title/tt0111161/
Forrest Gump
http://www.imdb.com/title/tt0109830/
A Beautiful Mind
http://www.imdb.com/title/tt0268978/
Life Is Beautiful
http://www.imdb.com/title/tt0118799/
Billy Elliot
http://www.imdb.com/title/tt0249462/
The World’s Fastest Indian
http://www.imdb.com/title/tt0412080/
The Straight Story
http://www.imdb.com/title/tt0166896/
Fight Club
http://www.imdb.com/title/tt0137523/
Pulp Fiction
http://www.imdb.com/title/tt0110912/
Magnolia
http://www.imdb.com/title/tt0175880/
Good Will Hunting
http://www.imdb.com/title/tt0119217/
Saving Private Ryan
http://www.imdb.com/title/tt0120815/
One Flew Over the Cuckoo’s Nest
http://www.imdb.com/title/tt0073486/
Big Fish
http://www.imdb.com/title/tt0319061/
Buffalo ’66
http://www.imdb.com/title/tt0118789/
Amélie
http://www.imdb.com/title/tt0211915/
Trainspotting
http://www.imdb.com/title/tt0117951/
What’s Eating Gilbert Grape
http://www.imdb.com/title/tt0108550/
Bunny and the Bull
http://www.imdb.com/title/tt1251725/
Kontroll
http://www.imdb.com/title/tt0373981/
City of God
http://www.imdb.com/title/tt0317248/
Eternal Sunshine of the Spotless Mind
http://www.imdb.com/title/tt0338013/
Gran Torino
http://www.imdb.com/title/tt1205489/
The Pianist
http://www.imdb.com/title/tt0253474/
Groundhog Day
http://www.imdb.com/title/tt0107048/
The Life Aquatic with Steve Zissou
http://www.imdb.com/title/tt0362270/
Children of Men
http://www.imdb.com/title/tt0206634/
Little Miss Sunshine
http://www.imdb.com/title/tt0449059/
My Left Foot
http://www.imdb.com/title/tt0097937/
Cast Away
http://www.imdb.com/title/tt0162222/
Sideways
http://www.imdb.com/title/tt0375063/
Shine
http://www.imdb.com/title/tt0117631/

Top 35 inspirational movies

 

Advertisements
Pupunzi

For a better web

Tech

News and reviews from the world of gadgets, gear, apps and the web

VentureBeat

News About Tech, Money and Innovation

Digital Inspiration

Tips and tutorials around all things tech.

Thinkwareglobal's Blog

Just another WordPress.com weblog

Kenazari's Blog

Just another WordPress.com weblog

Richfowler1's Blog

Just another WordPress.com weblog

Romaicus's Blog

Just another WordPress.com weblog

botlaguduri

Just another WordPress.com site

chandanag89

Just another WordPress.com site

meghshetty

Just another WordPress.com site

digitalmediaexpert

digital media expert blog

Thinking in Silverlight

Silverlight/WPF/Windows 8 Store App

Different Journeys

Let's make life easier!

LAW RESOURCE INDIA

LEGAL RESOURCE CENTRE / COURT JUDGMENTS / LEGAL ARCHIVES

BookConnect

Promoting Indian language Books

Actively Lazy

Software, crafted with passion

SAPonPower

An ongoing discussion about SAP infrastructure

SAP Career

Your Career Mentor

hrsapcertification

Just another WordPress.com site

The secret product manager

Thoughts about product management, SUSE, Linux, ARM processors, Cloud, AIX, Power Systems, and other things that interest me

Sap Certification Material . Com

Quality store for sap software and courses

Simon Les Flex's Blog

SAP Process Integration Specialist - NOW WE CAN DO BETTER!

Oracle Technologies Primer

An Oracle Fusion Middleware and iPaaS blog!

Gilberto Holms

Java, Middleware, SOA Architecture Blog

The Skeleton

Java code skeletons, tips and pointers

J@n van Zoggel

integration, innovation & random technology stuff

The Pragmatic Integrator

Hints and tips from a pragmatic integration specialist

briskwalk

The pace of life..

Optimalbg's Blog

Just another WordPress.com site

IT Jobs in USA

Keep the track of this Blog if you are looking out for some good Opportunities to work in USA....

Referral Jobs | Right Place to Get a Job

Hurry you are one Click away to get a job - Fresher Jobs for 2012, 2013 fresher’s and also high paid jobs for well Experienced IT professionals on Referal jobs.

eccinternational.wordpress.com/

ISO Consulting | ISO 27001 | ISO 20000 | CMMI | BCM | GRI Sustainability Reporting & Assurance | eLearning | Trainings | Philippines

Michael Korn's Blog

Musings on Life, Career, Faith and Technology

WORKINGWITHQTP

Just another WordPress.com weblog

Topics

.Net Core, AspNetCore, Entity Framework, Entity Framework Core, AspNetIdentity, AspNetIdentityCore, Unit Test, WCF, Workflows

SQA and Testers Blog

Just another WordPress.com weblog

Expertqtp's Weblog

Just another WordPress.com weblog

Sai Chamarthi

Experienced Testing Professional

saxenavinay

A great WordPress.com site

Suresh4qtp's Blog

Just another WordPress.com site

jonah95hill

This WordPress.com site is the cat’s pajamas

It's always something...

Just another WordPress.com weblog

Faculty of Information Technology - Lê Ngọc Tiến

Be Yourself! Simplify Our Goals! Nothing is Impossible!

Anti-Malware Testing

Thoughts on security product testing past and present

Methods & Tools

Practical knowledge for the software developer, tester and project manager