Hello my friends!
I’m using Xclick to select a target, but it clicks on the top element. In the video it is clear what I mean. I need to click on “rafael”, but he clicks on top, on “nelson”. Does anyone have any idea what it could be?
What is the selector you are using? Did it work before or never?
I use Xpath (if that’s your doubt). That’s the code.
First time testing Xclick, I’ve never tried it.
{
"Name": "TESTE - MÓDULO",
"CreationDate": "2024-8-22",
"Commands": [
{
"Command": "csvRead",
"Target": "base - atributo docente.csv",
"Value": "",
"Description": ""
},
{
"Command": "select",
"Target": "id=sel_co_disciplina",
"Value": "label=${!COL1}",
"Targets": [
"id=sel_co_disciplina"
],
"Description": ""
},
{
"Command": "XClick",
"Target": "//*[@id=\"sel_ar_nu_cpf_nao_selecionado\"]/option[@title='${!COL2}']",
"Value": "#left",
"Description": ""
},
{
"Command": "click",
"Target": "name=setaSimplesAvancar",
"Value": "",
"Targets": [
"name=setaSimplesAvancar"
],
"Description": ""
}
]
}
Can anyone have a solution for this case?
Guys, I searched the Forum, tried ChatGPT, it seems like it’s an error on UiVision itself. @admin , can you verify this?
I have a similar problem. Have you found a solution?
Never use xClick! It’s the most unreliable command and slow.
Use “click” command instead and xpath to target the button.
Note: I had a similar selection window in Salesforce where “Click” did not do anything. I got around this using “executeScript” command with a javascript clicking the button.
Could you give an example of this Executescript?
Click with DOM query