Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating ObjectRepository item through VBScript
#1
Not Solved
Hey all,

I'm a QTP noob and am wondering how I might be able to do the following:

There is a web table in my OR used for my test but the amount of "records" or "rows" in the table dynamically changes based on information retreieved from the database.

I need to write a function that will populate the object repository dynamically.

I'm thinking that I can right a for loop that goes from 1 to "Select Count(Row_ID) FROM table" and creates a web element to check for in the web table, for the amount of rows counted in the database. In other words, if the database table has 12 rows, then the object repository should include 12 rows for the web table.

What sort of command, if one exists, can be used to create the rows in the Object Repository web table?

Thanks, any help is appreciated.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot identify the specified item Beginner 0 2,331 06-22-2017, 04:55 PM
Last Post: Beginner
  WinListView set item command Shahino007 0 2,530 10-06-2015, 03:57 PM
Last Post: Shahino007
  Creating Random String SomeIntern 0 4,771 08-21-2013, 09:10 PM
Last Post: SomeIntern
  Problem in creating excel object kriday 1 2,197 07-13-2013, 12:45 PM
Last Post: Ankur
  Creating multiple lines under a header - SAP Fredodo 7 5,317 01-02-2013, 04:54 PM
Last Post: Saleel Prabhu

Forum Jump:


Users browsing this thread: 1 Guest(s)