Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add DataTable column parameter to WebElement in Object Repository?
#1
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.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Do we need object repository?? subhashinid 0 90 07-06-2016, 10:07 AM
Last Post: subhashinid
  [UFT] Get column name from SfwObject felino 0 330 12-02-2015, 04:07 PM
Last Post: felino
  Object repository losing object properties ishan.mahajan@adp.com 2 691 08-20-2015, 11:33 PM
Last Post: ADITI1992
  AddParameter method does not add in first column of datatable alpha1 4 921 07-14-2015, 12:44 AM
Last Post: supputuri
  login object not found in object repository Akram 2 973 06-01-2015, 07:47 PM
Last Post: babu123



Users browsing this thread: 1 Guest(s)