Display results as :

Rechercher Advanced Search

Latest topics

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