Please ensure to include your code between [code][/code] tags while asking or replying to questions.

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Add DataTable column parameter to WebElement in Object Repository?

10-07-2008, 11:02 PM (This post was last modified: 10-07-2008 11:33 PM by MGMN.)
Post: #1
Not Solved Question Add DataTable column parameter to WebElement in Object Repository?

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.
Find all posts by this user
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  object was not found in the Object Repository reynard 0 93 03-17-2015 10:54 PM
Last Post: reynard
  Change Object Repository File Path for ExternalActions MasterChief 1 330 11-13-2014 06:05 PM
Last Post: vinod123
  How to add all objects manually in object repository rajaselvan.d 2 2,564 10-10-2014 05:08 PM
Last Post: nivedita
  Action Parameter passing problem Qtpuser1 1 653 04-18-2014 06:23 AM
Last Post: kgovadav
Exclamation WebElement("WebElement").Click is not working sia sharma 4 5,456 03-19-2014 06:53 PM
Last Post: Ansh123

User(s) browsing this thread: 1 Guest(s)