Forum Discussion

shahid24's avatar
shahid24
Contributor
7 years ago
Solved

How can I set the object mapping and wild card so that some objects are always found.

Hi,

 

I require the following objects to be always found. Their parent objects dynamically change name and therefore cannot be found. Also how do i wildcard their parent objects? Please see attached image. 

 

1. imageAdd19ef7544699dcd45a87618c5

2. textboxQuantity

3. linkProteomics25

 

Which stable parent should I make these a child of, would panelContent be a good one?

 

Thanks,

Shahid

  • Hi Shahid,

     

    You can map panelLiveSearchCatTableBody and panelLiveSearchCatTableHead using a wildcard for idStr property:

     

    panel_live_search_cat_table_body_*

    Also you can check another properties for this element. E.g. class or className - usually it has static value.

2 Replies

  • baxatob's avatar
    baxatob
    Community Hero

    Hi Shahid,

     

    You can map panelLiveSearchCatTableBody and panelLiveSearchCatTableHead using a wildcard for idStr property:

     

    panel_live_search_cat_table_body_*

    Also you can check another properties for this element. E.g. class or className - usually it has static value.

    • shahid24's avatar
      shahid24
      Contributor

      Hi baxatob,

       

      Thanks! it worked like a charm!!!