Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add DataTable column parameter to WebElement in Object Repository?
Not Solved Question 
I have merged my local repositories into a shared object repository. In my shared object repository I have a WebElement object and I want to parameterize one of the properties in this object so it picks a cell value from a DataTable column.

The problem is that I can't add the DataTable column as a parmeter. After pressing the <#> button at the right side in property value field I select "Parameter" instead of "Constant". But when I look in the "Parameter" dropdown I can't find the DataTable column (that I want to pick the value from). Even though I have created many DataTable columns I only find two of them in this dropdown. Why is that and what "conditions" needs to be filled for the DataTable to be included here?

Addition to first post: I have found out that the reason that I can't add DataTable columns is probably because I'm in the shared ObjectRepository. The two DataTable columns I can choose is DataTable columns that was inserted into another object in the OR.

So I think I rephrase my question to: Is it possible to add DataTable columns into shared Object Repository objects? Or do I have to record them in a local Repository and then merge/move them the the shared OR? I use QTP9.0.

Possibly Related Threads...
Thread Author Replies Views Last Post
  Object repository losing object properties 2 315 08-20-2015, 11:33 PM
Last Post: ADITI1992
  AddParameter method does not add in first column of datatable alpha1 4 471 07-14-2015, 12:44 AM
Last Post: supputuri
  login object not found in object repository Akram 2 589 06-01-2015, 07:47 PM
Last Post: babu123
  object was not found in the Object Repository reynard 0 846 03-17-2015, 10:54 PM
Last Post: reynard
  Change Object Repository File Path for ExternalActions MasterChief 1 692 11-13-2014, 06:05 PM
Last Post: vinod123

Users browsing this thread: 1 Guest(s)