| || |
Mouse \"Save Target As\" on a HTML link using Silk
My requirement is to do a mouse right click on a Website link and save the contents using the "save target as" mouse pop-up option.
I have the HtmlLink and can do right click using HtmlLink("test").doClick(2). This will bring the Internet Explorer default pop-up menu. Now how do i click on the "Save Target As ..." item from it?
If you have ideas how to achieve this please let me know. I am very new to Silk test.
Re: Mouse \"Save Target As\" on a HTML link using Silk
I don't have much knowledge with the web testing, but you can try to do something like this:
1) Right click on your link and
2a) If you are on Firefox, do a Desktop.TypeKeys ("k")
2b) If you are on IE, do a Desktop.TypeKeys ("a")
Hope this helps.