Hi Priyanka,

Hope you are doing good.

We tried to execute the code at our end and it is running fine. The only change we did is, instead of Store.DemoQA.com we have used http://store.demoqa.com/ .

Also, please make sure that all the Selenium Jars are added to your Project. Please refer to the below screen shot of the output which we are getting at our end: