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
20
How check if an error Image is displayed when mandatory cell is not entred in ultragrid row
posted

Hi,I am working on automating .Net application which has NA controls. I am using QTP 8.2 , .net add-in and Testadvantage 7.2. In our application there is one ultra grid where we can enter data.My problem is, When any mandatory cell is left blank, grid shows one small red colour image in that cell. I need to check whether this image is displayed or not.Any help much appreciated. Thanks

 Rohith
Parents
No Data
Reply
  • 258
    posted

    Using

    SwfTable("gridName").GetNAProperty("Rows[1].Cells[Status].Appearance.ImageBackground")

    I am getting the return value as System.Drawing.Bitmap for the cells which are having an Image.

    What is the property that I can use to get the name of the displayed image.

Children
No Data