Fine-tuning Descriptors using Variables not getting variable name when trying to use variable name in selectors

Here is my code in the last click activity I am trying to use Fine-tuning Descriptors using Variables but not getting variable Employee name stored from get text activity.
Please let me know if I am doing anything wrong .Thanks.
Main.xaml (18.5 KB)

Hi @prashant_maghade ,

It appears that the Click activity in your Main.xaml file is set up but we need to verify if the EmployeeName variable is being used correctly within the selector and fine-tuning descriptors. Let’s ensure we correctly configure the Click activity using the EmployeeName variable.

Steps to Configure Click Activity with Dynamic Selectors:

  1. Ensure EmployeeName Variable Assignment:
  • Verify the Get Text activity is correctly extracting and assigning the value to the EmployeeName variable.
  1. Configure the Click Activity:
  • Set the Selector property of the Click activity to use the EmployeeName variable dynamically.

Example Configuration:

Step 1: Extract and Assign EmployeeName

Ensure you have a Get Text activity that correctly assigns the extracted text to the EmployeeName variable.

xml

Copy code

<Get Text Output="EmployeeName" />

Step 2: Configure the Click Activity

In the Click activity’s selector, use the EmployeeName variable dynamically. You can do this by editing the selector directly in the properties panel.

Dynamic Selector Example:

xml

Copy code

<wnd app='app.exe' cls='WindowsForms10.Window.8.app.*' title='Employee Details' />
<ctrl name='{{EmployeeName}}' role='list item' />

Fine-Tuning Descriptors:

To use the EmployeeName variable in the fine-tuning descriptors:

  1. Open the Click activity’s properties.
  2. Go to the Target section and find Fine-tuning Descriptors.
  3. Use the EmployeeName variable in the appropriate field.

Regards
Sandy

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