SvetaG
23 days agoOccasional Contributor
Dynamic Object
Hi All! HELP!!! How exactly can I update Dynamic Mapped Object, if after each run - numbers on the end changed for the same field? Thanks!
Hi torus! Thank you for the answer! I am trying to follow your steps, but I don't have any 'WndClass' and 'WndCaption' and 'ClassName' instead of those I have xpath and css. Any idea how to switch to different view? Thank you!
Okay, you are working with a web application (browser based application). The name mapping in mine was for a desktop application.
I wish you would have shown a screenshot of buttonVadwatchTier2. We need to see the properties for both to see what is changing.
Also, delete (or uncheck) the row that says 'css: Add selector'. That is a junk row that might be confusing TC.
Since i can't see what differs between buttonVadwatchTier attribute values and buttonVadwatchTier2 attribute values, I am going to guess at a possible solution.
Try changing the xpath to:
//button[contains(@id,'None')]
It will help a ton in the future when dealing with xpaths and css selectors (UI object grabbers) to memorize how to create good xpath and css values. Nowaday you can use Chat-GPT to figure out what the xpath/css selector should be :)
Thank you so much torus for the quick response! Adding some screenshots for buttonVadwatchTier and also more with the same problem ( I have the same issue almost for all fields)
Here is the data for dropdown menu with the same issue and every time xpath is different.
Thank you!