Closed jsperafico closed 2 years ago
Hey @jsperafico,
I am wondering if we may just have an issue with the locators. Could you use https://accessibilityinsights.io/ and post what the properties and the pathing for one of those squares looks like?
I am just wondering if there is an easier path here than xpath. Otherwise what are you using to get that Xpath? If it is the WinAppDriver UI Recorder could you give me the full xpath it gives you when you select that item?
https://github.com/microsoft/WinAppDriver/releases/tag/UIR-v1.1
Hey @Wolfe1, Hopefully this can help...
WinAppDriver UI Recorder:
"/Pane[@ClassName=\"#32769\"][@Name=\"Desktop 1\"]/Window[@Name=\"-------------------\"][@AutomationId=\"mainPageOrganiser\"]/Window[@Name=\"-------------------\"][@AutomationId=\"-------------------\"]/Text[@ClassName=\"TextBlock\"][@Name=\"East\"]"
Windows Inspect Tool:
Accessibility Tool:
I have tried to click on both elements and works fine. Just the Drag & Drop isn't. Anything else that I can provide you with? Thanks a lot for the help!
"I have tried to click on both elements and works fine. Just the Drag & Drop isn't. Anything else that I can provide you with?"
Ah understood, in that case, I guess now I just need some kind of a demo application where I can replicate this issue. I am assuming that since you redacted the window name that this is an internal application?
Also provided your blocks all have unique names I assume you could just use something like this rather than xpath (should work faster as well):
Click Element name=East
@jsperafico Also I know in another issue you mentioned not using touch actions but could you try giving Drag and Drop by Touch a try?
Any update @jsperafico ?
Hey @Wolfe1, Unfortunately:
Code moved to https://github.com/Accruent/robotframework-applicationlibrary so losing this issue.
What happened?
Hey everyone, First of all congratulations for your work so far! It's quite an accomplishment!
If anyone would be kind enough to investigate why I'm unable to drag and drop an ui component within the same window. Currently we have a WPF application that renders a node graph. Manually we can drag and drop the nodes around.
On my automation, I have tried the following:
Unfortunately, while running the automation, seems the action never happened in the first place. It only place the mouse over the target.
Any advice that could be the problem?
Relevant log output
Operating System
Windows 10 - WPF-based app
RobotFramework-Zoomba version (tag)
2.14.1