Forum Discussion

jxiong1024's avatar
jxiong1024
New Contributor
9 years ago

How to map different objects to a same alias?

Hi!

 

Briefly my question is, how could I use a same alias for two objects in two different processes?

 

The test case is, we originally have a programme (say process A for instance) and we have run quite a few tests on it. So the name mapping stuff is quite complex already. And now we somehow 'migrate' or integrate this programme into a big shell/frame (say process B), as a component.

 

So basically all UIs are still the same, but we do wish to run tests on both projects without remapping everything. How could I use something like Aliases.A, but let TC know that it could be both NameMapping.Sys.A and NameMapping.Sys.B.xxx.yyy.ComponentA?

 

My previous colleague successfully did this by accident... so he could not provide much information. but let me show you the example:

This process is mapped as Aliases.PalantirDataflow.

 

However:

This highlighted object under another process is mapped as a child of Aliases.D

 

2 Replies

    • Colin_McCrae's avatar
      Colin_McCrae
      Community Hero

      I don't think you can do this?

       

      And ...

       

      "My previous colleague successfully did this by accident... "

       

      I have my doubts. More likely, I suspect he had the identification properties set loosely enough that it would find the object whether it was run as part of Build A or Build B. (Which is entirely possible)

       

      So ...

       

      Map 1 Alias/Object to 2 UI objects? No.

       

      But ...

       

      Map 1 Alias/Object so that it will correctly link to 2 different UI object? Yes.

       

      This is all down to the identification properties used. Maybe some clever use of wildcards in there?