BMM1986 / selenium-vba

Automatically exported from code.google.com/p/selenium-vba
1 stars 0 forks source link

Image function 'compareTo' unrecognized #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Operating system and version (32/64bit) : 32bit
.Net Framework version : v4.0.30319
Office name and version(32/64bit) : Office 2007
Browser name and version : Firefox 26.0
SeleniumWrapper version : 1.0.17.0

What steps will reproduce the problem with a public website ?

The example 'VBS Script example : Compare two web pages' from the project 
homepage gives an error:

=> Code: imageA.compareTo(imageB).saveAs "diff.png" 'Compares images and save 
the result

=> Error: Erreur d'exécution Microsoft VBScript: Cet objet ne gère pas cette 
propriété ou cette méthode: 'imageA.compareTo'

Function 'compareTo' seems unrecognized for object created by 'Set imageA = 
driver.getScreenshot()'.

Original issue reported on code.google.com by ron190@ymail.com on 21 Jan 2014 at 4:56

GoogleCodeExporter commented 8 years ago
Page comparison is only available from version 1.0.18 which I haven't released 
yet since the upload of files is no longer available on Google code. It will be 
as soon as I find a place to publish the setup. Sorry for the inconvenience.

Original comment by florentbr on 21 Jan 2014 at 5:10

GoogleCodeExporter commented 8 years ago
We can't wait for release of selenium-vba v1.0.18, with Safari compatibility 
and image comparison ;)

Yes, I encounter the same 'Upload place' problem with my project. As project 
manager we are now invited to use Google Drive, but we lose download count.

I think I'll migrate my project to Github, it seems that the page 
https://github.com/[user]/[project]/downloads combines the features for 
'package download' and 'download count'. 
Strangely the 'Release page' on Github does not display 'download count' 
(https://github.com/[user]/[project]/releases).

Original comment by ron190@ymail.com on 22 Jan 2014 at 1:00

GoogleCodeExporter commented 8 years ago
The next release will be as soon as :
They release the fix for the .Net Safari driver: 
https://code.google.com/p/selenium/issues/detail?id=6860
They fix and release a new PhantomJS driver: 
https://github.com/ariya/phantomjs/issues/11915

For the downloads, I will use Bintray as I don't find Github very user-friendly 
and as I don't wan't to migrate from svn to gits:
https://bintray.com/florentbr/generic/selenium-vba

Anyway, thanks for the recommendation.

Original comment by florentbr on 23 Jan 2014 at 12:30