Display results as :

Rechercher Advanced Search

Latest topics
» 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

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara


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