Display results as :

Rechercher Advanced Search

Latest topics
» Geting issues in identifying the elsements in webdriver
Fri Feb 17, 2017 4:41 pm by janbaskt

» WebDriver - why not to use a singlton for it?
Fri Feb 17, 2017 4:40 pm by janbaskt

» WebDriver session when using testng annotation to invoke driver instance
Fri Feb 17, 2017 4:39 pm by janbaskt

» Selenium fails to launch Chrome
Fri Feb 17, 2017 4:39 pm by janbaskt

» why do i get this error
Fri Feb 17, 2017 4:38 pm by janbaskt

» Selenium Tutorial
Thu Feb 16, 2017 5:21 pm by Rahul

» When to use Selenium IDE, RC and WebDriver
Mon Feb 13, 2017 2:35 pm by azharuddin

» How to integrate selenium with ZAPI-Zephyr
Sat Feb 11, 2017 2:25 am by gseera002c

» Selenium Webdriver
Sat Feb 04, 2017 6:47 pm by


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