JUnit Selenium Webdriver Tutorial 14 (Parameter Management) | QAShahin

preview_player
Показать описание
JUnit Selenium Webdriver Tutorial 14 (Parameter Management) | QAShahin

Java JUnit WebDriver video tutorial on test variable and parameter management through a properties class.

Resources:
Introductory music:

Introductory video background:
Рекомендации по теме
Комментарии
Автор

Was totally what i was looking for! Thanks!

Sundhedskort
Автор

great videos... please add more video in this series!

Mjain
Автор

Thanks for your video regarding parameters management using a File instead of hard coding the values.  IT DOES MAKE A BIG DIFFERENCE FOR CODE MAINTENANCE.

sailingwithmarguerite
Автор

Thank you. Again very well explained. Along with field access paths of the UI controls (xpath, css, id's etc) and test data values what else would you recommend adding into the property file. Perhaps even the browser name which we would like to automate, wait time etc.. 

Also I see testers using a Json file in addition to the property file. This also works on a key value basis. So what is the advantage of the Json file, or what kind of validation data we would be adding in the Json file in addition to the property file.

gokulsukumar
Автор

Hi, Lets assume for a login page, we need to test repetatively for 20 different sets of "username and pwd". Could you please tel me, how to achieve this

shilpashree
Автор

Is it just me or is there too much double-encapsulation going on? What if I just put the Properties object into AbstractTest class and use Properties::get() on it in tests? But this is a design/architecture issue, by all means in general, your videos are terrific!

jkristjanvalk