Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
649
Error:CRFCN0078W: The selected object does not have a command to data drive.
posted

Hi.

I have a infragistic.Win.UltraWinGrid.UltraCombo  When I record a script and I want add a UltracomboBox in the datapool. I select "Data Drive Actions" and "Press and drag hand to select test objects". When I select the FlexCheckBox appears the message: No commands for selecter Object. CRFCN0078W: The selected object does not have a command to data drive.

Thanks, in advance.

Rekha.

  • 6729
    Suggested Answer
    Offline posted

    Hi Rekha,

    The UltraWinGrid.UltraCombo cannot be data driven using the wizard because its action needs complex subitem (like AtCell, or AtColumnHeader) The way to do this will be to create your script then replace the static parameter with data driven references. For example we want to click on the first cell of each row, First we add this line to do it for the first row:

    UltraComboTestObject.Click(AtCell(AtRow(0), AtColumn(Name))

    Then we replace the AtRow parameter with a reference to data pool variable that we have to manually create then the action will be:

    UltraComboTestObject.Click(AtCell(AtRow(DpInt(“RowIndex”)), AtColumn(Name)) ‘ assuming that we named the variable “RowIndex”

     

    Please let me know if you need help working this solution out.

    Regards,

    Ammar 

  • 649
    posted

    It is a UltrawinGrid.UltraCombo box and not FlexCheck box..

    Sorry for typing mistake.