Forum Discussion

MarcusBengtsson's avatar
MarcusBengtsson
Frequent Contributor
3 years ago

Unable to select first item in list

Hello! So currently trying to map the first item in the list (on web) but it is only possible to map it with the name itself. In this case FP64_2022-12-13_001. Which WORKS but next day when running it wont be the same name. 

 

How to I make it select the first item in the list?

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    See Miscellaneous. You can instruct TC to use either regular expression or wild cards to identify the object. 

     

    It looks like the object is identified as e.g. "FP64_YYYY-MM-DD_001". You can construct a string, use date function, and then use code snippet in your keyword test.