Facing issue in selecting Indicate Target on Screen in Teamcenter, while creating Item using boat

I am trying to create item in Teamcenter using boat but while selecting and want to find dictionary name of item am not able to use Type into activity to give the name of components


i want to enter English name of component in UI you can see in attached image (2) but not able to do that, how to do that?

1 Like

@sandeep.pund

are you using a separate use app/brwoser activity for this small window? if not please use and try

cheers

1 Like

Hi @sandeep.pund
Because Teamcenter BOAT fields are not normal textboxes, Type Into won’t work.
Use this method:
1. Click on the English Name field
2. Set Clipboard → your text
3. Send Hotkey: Ctrl + V (paste)

This works even when typing is blocked.
Cheers

1 Like

Hi @sandeep.pund ,

Here is what i do usually if i dont find the selectors properly. When you click on indicate element and hoover the mouse to the target and click on F4 on your keyboard that will change the default framework and then click on your target

or you can use UiExplorer to grab the selectors , you can change the framework and spy the elements on the screen. This approach worked for me when there is no proper selectors available with default framework

1 Like

Hi @sandeep.pund

Use F4 while indicating the element to switch UI frameworks (Default/AA/UIA) and try again.

Or open UiExplorer, change the framework there, and capture the element. This helps when default selectors don’t work.

Cheers

Hi @sandeep.pund
If this approach works for you please mark as solved.
Cheers

@nishiijain2000 firstly thanks for suggestion,
Actually, i tried using a separate use app/brwoser activity for this small window as @Anil_G mentioned now it’s working, so am testing, if that’s breaking something or not working than i will try as you suggested.

2 Likes

@sandeep.pund

Happy Automation. Glad it helped

cheers

1 Like

rowIndex =
dt.AsEnumerable().
Select(Function(r) If(IsDBNull(r(“a”)), “”, r(“a”).ToString.Trim)).
ToList().
IndexOf(“abc”)

Hi,

Step-by-step solution

  1. Click the field: Use a Click activity to focus on the desired “English designation” input field in Teamcenter.
  2. Set the text to the clipboard: Use the Set Clip board activity to place the desired English name of the component onto the system clipboard.
  3. Paste the text: Use the Send Hotkey activity with the ctrl+v combination to paste the content from the clipboard into the focused field.

This method is more reliable for non-standard UI elements like those found in the Teamcenter Business Object Administration Tool (BOAT) interface.