i have an Excel of URL , One URL is redirecting to another how would i test it through Selenium webdriver -
i have excel of url's in there 4 columns , old t_id , old url , new t_id , new url , have test url redirection through selenium web driver. please suggest idea
use @dataprovider
rotate through excel data, read old_url excel , navigate using driver.get()
, use driver.getcurrenturl()
new redirected url string. compare string excel new_url column.
Comments
Post a Comment