Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adding a colum with variable content
#1
Not Solved
Hi,

I'm currently learning to word with qtp and programming and I have some trouble with the following:

Code:
Aantalregels = Browser("Browser").Page("Page").Frame("main_7").WebTable("Fonds").RowCount
datatable("Aantalregels","Uitvoeren")=Aantalregels

For row=1 to Browser("Browser").Page("Page").Frame("main_7").WebTable("Fonds").RowCount
  
Do  until row=Aantalregels
            Set sheet=datatable.GetSheet("Uitvoeren")
                    sheet.addparameter "test","(Browser("Browser").Page("Page").Frame("main_7").WebTable("Fonds").GetCellData(row,2))",
                    
                    
row=row+1        
datatable("row","Uitvoeren")=row
loop
Next

What I am trying to do is to search a webtable and make a new column for each retrieved row with content and display the content in the newly made column, but I can't get it to work properly, please help??

Thanx!
Dennis.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Read Content inside PDF kotaramamohana 0 1,089 09-02-2020, 05:49 PM
Last Post: kotaramamohana
Question adding two conditions into a while statement lotos 4 4,799 11-10-2017, 04:49 AM
Last Post: lotos
  how to write the content obtained using the method GetPdfText Anisha 0 1,337 10-24-2017, 08:49 PM
Last Post: Anisha
  Uft: Adding a property to all ojects into Repository ProTester 0 1,249 06-09-2017, 12:48 AM
Last Post: ProTester
  adding an object to OR seven 1 2,562 02-17-2014, 02:23 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)