Unsure of how to navigate Ui Elements in Teamcenter

Hello, I am working on an automation using Teamcenter 13 by Siemens. At the moment, I have it so the bot will create an item, and add it to the signed in users “home” section.

The issue I am running into, is that the goal is to open the dropdown on the newly created item. I am only able to highlight the empty space next to each item.

The only thing that I have found potentially useful, was going through the Ui Explorer - and finding this:
Each “row” increases the idx value by 2.
For example, this is the 3rd entry in this list, and has the value “idx = 6” then the next one would be “idx = 8”.

This seems to just be extremely nested inside of the application, and I am looking for any help I can get.

Thank you very much :slight_smile:

The empty space I reference for each “row”:
image

@OttoCorrect

Welcome to the community

Is the newly created item always at the top or bottom?

If so then if top you know the idx and if bottom you can add 2 always and get the idx

Cheers

1 Like

Thank you :slight_smile:

The newly created item will always be at the bottom.

So, I guess where I am stuck is where do I put that logic? Is there a way to make that idx dynamic? Sorry, I am still new to the RPA world.

For example, this is what the Target’s selector information looks like:

Where would I input the logic for idx +2? I assume this would be in a specific activity?

Thank you for your help!!

@OttoCorrect

  1. If you are adding all items then assign a variable in place of idx value and increment it always and the variable reflects it…to add variable you need to right click and select the variable toa dd…increment can be done separately
  2. if you dont know how many items are there already and need to click only on one and it is not a repetitive activity then one thing you can do is to start a loop and give the idx variable as 2 and then isnide loop increment it till the selector fails to validate…then you would know which is the last idx you need…the one before the failed one is the last one

cheers

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.