Reputation: 69
I have an "Export" button so after click on it the .csv file with some data is downloaded.
Is there a way to test in Selenium2 the following points:
I will really appreciate all of the suggestions on how to do the tings above using Java.
Upvotes: 1
Views: 7127
Reputation: 5082
Actually, It is not possible to handle the Native
windows using the selenium web driver. You can go for the third party tool like AutoIT
to resolve this kind of issue.
For more info on AutoIT Tutorial and this too.
Upvotes: 1
Reputation: 85
Integrate Sikuli library in your test script. You can easily compare through snapshot.
Upvotes: 0
Reputation: 5667
In firefox also you can do the same thing.
FirefoxProfile profile = new FirefoxProfile(profileDir);
driver=new FirefoxDriver(profile);
below you can see how to change firefox file download settings
And then by using by some programming language you can do remaining things
Upvotes: 0