Micro Focus QTP (UFT) Forums
Find a text in Runtime datatable - 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: Find a text in Runtime datatable (/Thread-Find-a-text-in-Runtime-datatable)



Find a text in Runtime datatable - ra.dineshkumar@gmail.com - 11-29-2014

Hello Experts,

I need your help.

Could someone tell me how to find a text in the runtime datatable using the code and get the row number of the text?

Here is my scenario: We import the external datasheet into QTP at runtime. That datasheet has more rows and we need to find a text in column A and execution should start from that row. We temporarily have a solution to read each row until we find the text but this consumes more execution time.

I appreciate your help.

Thanks in advance


RE: Find a text in Runtime datatable - supputuri - 12-01-2014

Before loading the excel into QTP, get the location of your search string in excel directly and then store it as starting row. Now after loading the excel in QTP, set the starting row and then proceed from that point....