Display results as :

Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx


Component testing using selenium webdriver

View previous topic View next topic Go down

Component testing using selenium webdriver

Post by vaib1979 on Wed Aug 10, 2016 12:37 am


I am newbie with Selenium Webdriver & need views for the following:

Consider I have 2 different web-pages when has following set of web-elements say text-box, drop-down, header, footer & submit button.
It is possible that drop-down on web-page 1 & 2 has different values. This means that web-elements are of same type but their values & content is different.

Now question is:
We see that these 2 web-pages share same web-components. Instead of automating each element separately twice, should we automate each web-element only once (by putting them in some common library) so that our effort of writing similar code again and again can be avoided.

When such web-element is used then we just call common library method for automation.

Please share your thoughts.

Last edited by vaib1979 on Wed Aug 10, 2016 12:39 am; edited 1 time in total (Reason for editing : Missed few lines)


Posts : 1
Join date : 2016-08-10

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