Share
Go down
mfsi_Sudhansu
Posts : 3
Join date : 2012-11-07

How to print all the friend names in Facebook using Selenium Webdriver and Java code?

on Wed Nov 07, 2012 12:38 pm
Hi All,

Can someone please help in the following scenario?
Scenario:
I want to print all the friends name using Selenium Webdriver automation using java. Since all the friends name are not getting loaded in one page, i have to scroll down the sidebar until and unless all the friend list are getting loaded. What should be the condition to stop the scroll bar down?

Note: The "See more" option is not displaying.

Thanks
Sudhansu
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: How to print all the friend names in Facebook using Selenium Webdriver and Java code?

on Mon Nov 19, 2012 9:01 pm
hi,

get view source of a page. find the frame in which friend list appearing.
Fetch all the values of tag present in that frame which contain friend name.

this is the logic. you have to write code and fetch the value using regular expression and x-path hierarchy

hope this will help. you have to write code by urself. I gave the logic.

Best of luck


_________________
Spread Your Knowledge About Selenium Tool.

Administrator
Email: selenium.discussion.thread@live.com
Forum: http://seleniumforum.forumotion.net
Back to top
Permissions in this forum:
You cannot reply to topics in this forum