question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ListItem ElementNotFoundError

See original GitHub issue

Hi!

I’m facing same proplem which is mentioned in this stackowerflow Question - http://stackoverflow.com/questions/41112765/pywinauto-and-listitem-selection

I’m getting error when trying to select ListItem,

app.top_window().child_window(title_re="High").select()

, but items is being returned from print_control_identifiers() method, also I’m double checking the element with app.top_window().child_window(title_re="High").exists() which returns “True”

Error Msg:

pywinauto.findwindows.ElementNotFoundError: {'top_level_only': False, 'title_re': 'High',
 'parent': <pywinauto.uia_element_info.UIAElementInfo object at 0x00A819D0>, 'backend': 'uia'} 

Is there known reason why this is happening? Is there another way how to select ListBox item?

Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
istalscommented, Jun 29, 2017

Sorry for the late response. Thank you, yes your suggestions worked for me. This issue can be close.

0reactions
vasily-v-ryabovcommented, Jun 15, 2017

Are there some news on your issues? If all is solved, can we close the issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

pywinauto find_elements() returns ElementNotFoundError
Now the problem is that when I call the find_element() method with these parameters it raises an ElementNotFoundError. Here's my code:
Read more >
pywinauto.findwindows — pywinauto 0.6.8 ... - Read the Docs
Return a list of handles of all the top level windows. pywinauto.findwindows. find_element (**kwargs)¶. Call find_elements and ensure that only one element ...
Read more >
How to locate an element on the page - Web Performance
There's a good chance you arrived here because you encountered an Element Not Found error when replaying a real-browser testcase.
Read more >
pywinauto Documentation - Read the Docs
The list of supported accessibility technologies on Windows: ... window/control or raises ElementNotFoundError. This wrapper can deal with ...
Read more >
UltimateRPA: Finding an element
If the method does not find any GUI element, it returns an empty list. ... and then the robot terminates with the error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found