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

Unable to find/click on the generated elements #583

Open
SreeniMurthy opened this issue Sep 22, 2023 · 0 comments
Open

Unable to find/click on the generated elements #583

SreeniMurthy opened this issue Sep 22, 2023 · 0 comments

Comments

@SreeniMurthy
Copy link

SreeniMurthy commented Sep 22, 2023

I am writing to perform a flow with the following steps on Windows 10

  1. Click on "Type here to search"
  2. Type "Printers & scanners"
  3. Click Open
  4. Click on a printer/scanner in the list
  5. Click on Remove device

After this, I need to click on "Yes" button in the pop up window to complete flow.

I tried the following options

  1. Discovered that "Yes" button which comes under a "Remove device confirmation" window is generate in the tree only when "Remove device" was clicked in Step5

  2. Tried to search for all button under "Settings" windows-> with child as all Windows and Button. Except for the generated Pop up window control all other controls are available and accessible

  3. Tried with Keyboard actions (Like Tab and Enter). But this didn't work

  4. Tried with Mouse actions (Mouse.LeftClick(point) etc.,). But this didn't work.

I noticed that the Keyboard and Mouse actions work seamlessly in other places.

I was able to find the controls on FlaUIInspector, However it crashed after seconds.

Can you please suggest ways to resolve this.

Also, this is one of the flows. There are similar flows to remove devices having similar pattern. Happy to share you more details are needed.

@SreeniMurthy SreeniMurthy changed the title Unable to find/click on the generate elements Unable to find/click on the generated elements Sep 22, 2023
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

1 participant