Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by mfsi_Sudhansu 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

mfsi_Sudhansu

Posts : 3
Join date : 2012-11-07

Back to top Go down

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

Post by Adviser 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

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum