Output Values on a Table Cell in a Loop - 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: Output Values on a Table Cell in a Loop (/Thread-Output-Values-on-a-Table-Cell-in-a-Loop) |
Output Values on a Table Cell in a Loop - geet - 03-03-2010 Hi, Code: I am trying to capture run time values from a table using output values and storing them in the global data table, but it captures the value of first iteration of loop only and throws the error on further iterations. Please correct me on where i am doing wrong, my code is given below: Error: RE: Output Values on a Table Cell in a Loop - sreekanth chilam - 03-03-2010 HI Geet, Just change the statement as given below in your code. Code: DataTable.GetSheet("SearchJournal").SetCurrentRow(i) RE: Output Values on a Table Cell in a Loop - Saket - 03-03-2010 what is the error that you receive? RE: Output Values on a Table Cell in a Loop - geet - 03-03-2010 "Can not identify the object "Journal Id" (of class Web Element). Verify that this object's properties match an object currently displayed in your application. Line 16: Code: Browser("Acquisition Database_2").Page("Acquisition Database").WebElement("Journal ID").Output CheckPoint("Journal ID") |