Contributions
Re: Cant open Image of an object in python PIL
Thanks for your valuable input !! I tried with window also, still get the same error. Sample_object = Sys.Process("vncviewer_latest", 2).Window("vwr::CDesktopWin", "161.65.441.25 - VNC Viewer", 1) But it works, if I saved the image in hard disk and access it by using Path. fin = Image.open("D:\\Sample\\demo.jpg") I think Python Imaging Library does not accept the Image Format provided by Picture() method in Testcomplete. Any suggestion to overcome this problem ?1.4KViews0likes2CommentsCant open Image of an object in python PIL
I have been trying to open the image of an object in Testcomplete using Python PIL library by converting the Testcomplete object into Picture object. But it is showing error as "AttributeError: The object does not support this property or method". My code : Sample_object = Sys.Process("vncviewer_latest") Sample_pic_obj = Sample_object.Picture() fin = Image.open(Sample_pic_obj) How to solve this issue ?1.4KViews0likes4Comments