Forum Discussion

lowres's avatar
lowres
Occasional Contributor
2 months ago

Name Mapping and Variables - undefined

Hello,

Im having a challenge.
I have a mapping which is dynamic, ie it changes depending on what I want to select.
The mapping has a WPFControl which I want to populate from a variable.

We store our variables in an Excel file and configure it all in the Project Variables this works for the normal Keyword Tests where when we need a variable we pick the Tab and then the Column, but when trying to use it for the mapping aliases they come up as "undefined"

If I create a normal variable under Project Variables ie none Table or Excel, I can pick it no problem.
Is there a reason that Project Variables from Excel can not be used for this? A bug/user error?

Thanks,

Lowres.

3 Replies

  • lowres's avatar
    lowres
    Occasional Contributor

    Just to add my work around for this is to use Set Variable Value just before I need the Alias Mapping. In the Alias mapping a set it to the variable I just populated from the excel sheet.