Subject: How to validate Graphs through QTP - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Subject: How to validate Graphs through QTP (/Thread-Subject-How-to-validate-Graphs-through-QTP) |
Subject: How to validate Graphs through QTP - venkatbatchu - 08-30-2010 Hi, I am working with the application for which validation of Graphs is required. Application generates Graph in 2 ways one is in application itself and another in a format of PDF or Excel. For Graph which gets generated in application while trying to identify the properties through QTP spy it's identifying the whole graph as a WebElement. For Graph which gets generated in Excel format while trying to identify the properties through QTP spy it's identifying the whole graph as a WinObject. Graphs get generated based on some data so once the data gets changed, Graph also changes accordingly. We have tried the Bitmap checkpoint to validate but due to dynamic behavior of Graph it didn't work. Please let me know if there is any way to validate the graphs through QTP Thanks in Advance, Regards, Venkat.Batchu RE: Subject: How to validate Graphs through QTP - balaji4u - 08-31-2010 Hi Venkat , There might not be any built in solution within QTP to handle your use case , but i think you can create a Custom Bitmap comparer to compare your graphs for a range of values , since the Graph changes each time based on the value check whether you can validate the use case with less graphs so that you can create an algorithim only for those values. Regards, Balaji |