Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Using the GetCellAppearance method on a UltraWinGrid
posted

So where would one find the documentation that describes the available "appearanceprop" values that can be used in QTP if I was to use the GetCellAppearance method?

  • 12480
    Suggested Answer
    Offline posted

    Hi ashish,

    There's not a list of these values in the documentation, but the enumeration can be found in the TestAdvantage source code, which you can download from our website. Here's the complete list:

    public enum QTPAppearanceProperty
    {

    appAlphaLevel,
    appBackColor,
    appBackColor2,
    appBackColorAlpha,
    appBackColorDisabled,
    appBackColorDisabled2,
    appBackGradientAlignment,
    appBackGradientStyle,
    appBackHatchStyle,
    appBorderAlpha,
    appBorderColor,appBorderColor2,
    appBorderColor3DBase,
    appCursor,
    appFontData,
    appForeColor,
    appForeColorDisabled,
    appForegroundAlpha,
    appHasFontData,
    appImage,
    appImageAlpha,appImageBackground,
    appImageBackgroundAlpha,
    appImageBackgroundDisabled,
    appImageBackgroundOrigin,
    appImageBackgroundStretchMargins,
    appImageBackgroundStyle,appImageHAlign,
    appImageVAlign,
    appStyleLibraryName,
    appStyleResourceName,
    appTextHAlign,
    appTextTrimming,
    appTextVAlign,
    appThemedElementAlpha

    }

  • 9190
    Offline posted

    Hi,

    I will be happy to assist you with your question.

    The TestAdvantage help documentation don't specify a set of available appearance property values that can be used for the GetCellAppearanace method. I am currently researching another way for obtaining this information and will provide you with an update as soon as it becomes available.

    Please let me know if you have additional questions regarding this matter.