Skip to content

FlaUI fails to recognize the correct window when an application has a splash screen #464

@gccops

Description

@gccops

Hello,

I am a new to FlaUI and still learning.

I am writing some codes to simulate the keyboard to input some characters to a Windows application (Not developed by .Net). When I start this Windows app, the splash screen comes up first and then the main screen is displayed in about 10-15 seconds.

The problem appears with the finding of UI elements. I use FlaUInspect.exe to find the elements’ automationID for the main window, but even the obvious elements can not be found (shows Object reference not set to an instance of an object).

I think that the splash screen was captured as the main window because I used the function FindAllDescendants to list all elements and can see the related stuff.

Do you know how to skip the splash screen?

It seems that the target application is hooked by FlaUI.Core.Application.Launch(), is there any way I can hook any sub window for my application dynamically at any time?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions