Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium WebDriver Integration
Tue Nov 21, 2017 1:06 pm by azharuddin

» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

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
avatar
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