Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
vaib1979
Posts : 1
Join date : 2016-08-10

Component testing using selenium webdriver Empty Component testing using selenium webdriver

Wed Aug 10, 2016 12:37 am
Hi,

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)
Back to top
Permissions in this forum:
You cannot reply to topics in this forum