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:
- Ensure
EmployeeNameVariable Assignment:
- Verify the
Get Textactivity is correctly extracting and assigning the value to theEmployeeNamevariable.
- Configure the
ClickActivity:
- Set the
Selectorproperty of theClickactivity to use theEmployeeNamevariable 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:
- Open the
Clickactivity’s properties. - Go to the
Targetsection and findFine-tuning Descriptors. - Use the
EmployeeNamevariable in the appropriate field.
Regards
Sandy
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.