Does OpenRPA support clickElement up winform? I have selected the input data but can’t add new data when I click?
If you are using the recorder, when you click somewhere,it will try and guess what type of element you click and if that element supports using input.
If a textfield or similar, it will open a prompt for you to type some text in, if it detects a drop down list, it will open a prompt with the values from the select and ask you to select on ( using keyboard only, you cannot select with the mouse ! )
If you are trying to do this yourself. After you have gotten the element that support getting text, you then add an Assign
activity inside the Get Element
and you assign the value you want to sent to the element to item.value
or in some cases item.text
I thank you sir for this support i will try it.
I’m very grateful to you for taking the time to support me, but I configured it like the picture above and it clicked. The next problem I see is that your program still seems unstable because every time I turn it off and then turn it back on to run the project I made, a little problem occurs. Do you have such problem? thank you very much
Hello sir and have a nice day.
I have a question: if there are 2 configuration cells like the image, it only takes the first cell but cannot distinguish between the 1st and 2nd cell according to getElement. Can you give me a solution?
I thank you very much
There is a hidden, undocumented property you can use for windows selectors called IndexInParent
Add that to the last element/object in the sekector and using highligt test what number works
{
“ClassName”: “TextBox”,
“ControlType”: “Edit”,
“AutomationId”: “TextInOutput”,
“FrameworkId”: “WPF”
},
{
“IndexInParent”: “1”
}
or
{
“ClassName”: “TextBox”,
“ControlType”: “Edit”,
“AutomationId”: “TextInOutput”,
“FrameworkId”: “WPF”,
“IndexInParent”: “1”
}
I thank you for your suggestion but it doesn’t work for me!
When elements does not have ANY thing unique …
All you can do, is use IndexInParent
change the number and press highlight til you find it
“ClassName”: “TextBox”,
“ControlType”: “Edit”,
“AutomationId”: “TextInOutput”,
“FrameworkId”: “WPF”,
“IndexInParent”: 1
}
Hi @Allan_Zimmermann
It seems it only works with “IndexInParent”: “0”
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.