I have a scenario to test where I need to test that the export functionality is working properly or not. I know that usually in these cases, firstly we check the availability of file in location and next the file size.
My problem is that in this case file is automatically getting downloaded to My Downloads folder which is different for different users.
So how do we create a test for this? Also are there any other test cases we need to check. This is the dummy code for how the link behaves(I don't have the actual code right now). Please suggest how to test this properly.
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/dataexport.htm?light