How to identify run time objects - 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: How to identify run time objects (/Thread-How-to-identify-run-time-objects) |
How to identify run time objects - Ravi_Chandra - 12-14-2010 Can anyone provide solution for the below scenario? During run time i am creating a new record and trying to search whether that record exists in the table. How to identify whether new record exists in the table? Table contains many records. RE: How to identify run time objects - manishbhalshankar - 12-15-2010 Hi Ravi, Use RowCount and iterate through the rows of your table till you get your desired record. RE: How to identify run time objects - Ravi_Chandra - 12-30-2010 Hi Manish, Table where record is present is not identified as webtable by OR... When tried to add the table in OR, then single row is added as webtable... Can you please suggest how to get the whole records from that table... though the whole grid is not identified as table? Thanks in advance, Ravi RE: How to identify run time objects - rajeshwar - 12-30-2010 Hi Manish, 1. To Verify at Database Level, Query the data base and find if the record is added or not.Use count() with Where clause. 2. At UI level Try using Regular Expressions 3. some Native Properties and Methods might help (.Object.[Native Property/Method]) RE: How to identify run time objects - basanth27 - 01-04-2011 Ravi - You have to present more details. 1. What kind of an application are you working on ? Technology ? 2. Object identification by QTP ? 3. Are there third party controls ? Preferably the code which you are trying to execute will be of immense help. |