I have a file downloader class which also supports image download available here:
I would however ask why you are performing this test.
If you are not checking the image (for example performing a SHA1/MD5 hash on it to ensure it is the image you expect) this test is completely pointless. You would be better off getting the HTTP headers to see if the image exists (302/200 are the normal expected HTTP return codes).
If you just want to see that right click has the expected options and that files can be downloaded you are not testing your website but the browser/OS. If it doesn’t work could any of your devs fix it or will the problem be ignored. If your devs can fix it can they force a new release of the browser/OS that contains the fix and can they force your users to download them (I’ll be very sureprised if you can answer yes to all of these questions).
--
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
>> [mailto:webdriver@googlegroups.com] *On Behalf Of *Naresh
Hello all,
I have a requirement, I have to right click on element and need to select an option from the context menu. i am using JUnit frame work.
As per my requirement, I have to select View Details or Add to Bin or Manage option from right click context menu options.
Please find the attached screen. This is urgent for me.
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/zeMrko755UQJ.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.