Forum Discussion

asmat_786's avatar
asmat_786
New Contributor
12 years ago

I am getting JScript run time error when objImage.Check method is used .

I am using objBaseImage.Check() to compare images and getting JScript runtime error . I want to check Actual image with base line image .My baseline Images are stored at some location and are not i...
  • googleid_114358's avatar
    12 years ago
    Hi Asmat.



    Could you post a bit more of the code you are using so we could help you ?



    If you are trying to compare a runtime object picture, I would suggest that you use something like that :



    boolean = RunTimeObject.Picture().Compare(Utils.Picture.LoadFromFile("PathToBaseLine")).



    Source : http://support.smartbear.com/viewarticle/30650/