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
Exclamation WebElement("WebElement").Click is not working sia sharma 7 24,059 09-28-2016, 08:58 PM
Last Post: supputuri
  How to get the Webelement object name. Shilpa Gorantla 1 2,578 07-29-2016, 03:53 PM
Last Post: Shilpa Gorantla
  Do we need object repository?? subhashinid 0 1,994 07-06-2016, 10:07 AM
Last Post: subhashinid
  [UFT] Get column name from SfwObject felino 0 3,065 12-02-2015, 04:07 PM
Last Post: felino
  Object repository losing object properties ishan.mahajan@adp.com 2 3,828 08-20-2015, 11:33 PM
Last Post: ADITI1992

Forum Jump:


Users browsing this thread: 1 Guest(s)