Skip to content

Automation for app installation with UAC #2033

@Shreyanshkhemesara

Description

@Shreyanshkhemesara

I am trying to automate testing for an agent desktop service. Its first step is installing that agent service.
Following steps take place: 1. open MSI 2. click next 3. click i agree to terms and condition 4. click next 5. click next -> this prompts up with UAC window. I am able to automate things till here , but the click on UAC window is not happening.

  1. Tried to do click on elementByname("YesButton") / xml path
  2. Tried to send "left arrow key" and then "enter" ( to switch to "yes" from "no" on UAC and then enter to select "Yes")
    Neither of these things worked.

Is it possible to achieve this? If so, how?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions