I want to verify if links present on a webpage are active and once I click on a particular link,I want to check that the URL of redirected page matches my input file

I want to check for a particular webpage say www.http://toolsqa.com , when i click on the links HOME , CONTACT , TUTORIALS on home page, the URL of redirected page matches my input files expected output.

I want to pass input as an excel file  in the format : <LINK>|<EXPECTED URL> { eg: TRAINING|http://toolsqa.com/selenium-webdriver/selenium-tutorial/

and want automation script to verify if on clicking a <LINK> actual output  i.e  verify the redirected page URL matches the EXPECTED URL.

I am not able to figure out how do I use my input file and write it as a script.

Default Asked on January 30, 2016 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.