Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win app driver 1.2.1 freezes when looking for an element #1576

Open
samkhayal opened this issue Aug 20, 2021 · 2 comments
Open

win app driver 1.2.1 freezes when looking for an element #1576

samkhayal opened this issue Aug 20, 2021 · 2 comments

Comments

@samkhayal
Copy link

so i have an application i am testing when i need to click a sub menu to open a pop window and then click add to go add a file and once i click ok another pop up window will be displayed to select the fields i would like to include in my file i need to uplaod. so far until this point it work and then i click ok and close all windows and that part works fine. the window that has the fields i need to include is rows and columns and i am using class name to located the elements. however when i have this in a loop since i have more than one file to upload the window the second i click on the sub menu all the way until i get the pop up to select the fields i would like to include here win app driver does not do anything anymore and keeps running like in infinite loop for hours .

anyone had the same issue and what did u do to overcome it ? i included a snippet of what win app driver keeps showing

{"using":"xpath","value":"//DataItem[@classname='Record'][@name='TemplateManager.TemplateFieldsExtended']"}

Exception: Encountered element sharing the same runtimeId 7.52968.57669563

new Object {, Cell, 7.52968.57669563}
runtimeId 7.52968.57669563
className Cell
name
NativeWindowHandle 0

existing Object {, Cell, 7.52968.57669563}
runtimeId 7.52968.57669563
className Cell
name
NativeWindowHandle 0

Ignoring new object and keeping existing one

@anunay1
Copy link

anunay1 commented Aug 24, 2021

not able to understand your issue. can you please schedule a zoom call [email protected]

@Shakevg
Copy link

Shakevg commented Dec 8, 2021

@samkhayal Looks like it is a known issue in WinAppDriver #632
I didn't find a workaround, just skip operation that cause an error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants