How to specify format for Regions.AddPicture?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2010
01:36 AM
03-29-2010
01:36 AM
How to specify format for Regions.AddPicture?
Is there a way to specify what format to use (BMP, PNG, color depth, etc.) when calling Regions.AddPicture and passing in an onscreen object?
Also, is there a way to specify it when doing a Regions.Compare with an onscreen object? I tried converting my BMP's that I had captured to PNG's to save disk space, but when I did that they would no longer match when using Regions.Compare.
Also, is there a way to specify it when doing a Regions.Compare with an onscreen object? I tried converting my BMP's that I had captured to PNG's to save disk space, but when I did that they would no longer match when using Regions.Compare.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2010
12:02 AM
03-30-2010
12:02 AM
Hi Jessica,
> Is there a way to specify what format to use (BMP, PNG, color depth, etc.) when calling Regions.AddPicture and passing in an onscreen object?
From "Regions.AddPicture" help topic:
The image format is specified by TestComplete’s Images option. It can also be set at test run time using the
Hope this will help...
> Is there a way to specify what format to use (BMP, PNG, color depth, etc.) when calling Regions.AddPicture and passing in an onscreen object?
From "Regions.AddPicture" help topic:
The image format is specified by TestComplete’s Images option. It can also be set at test run time using the
Options.Images.SetDefaultPictureConfiguration
method.Hope this will help...
Regards,
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
