Jump to content

Is it possible?


 Share

Recommended Posts

Hello all,

I'd like to use it to test GUI of my Windows Forms app.

In application I'm showing messagebox when error occurs.

My question is how to create event that could catch just created messagebox during testing? Is it possible? Or maybe some other way?

I was thinking about something like this but OnEvent functions look like working only with click events

$error = WinActive("Error")

xxxSetOnEvent($error, "ErrorFunc")

While 1

testing code ...

WEnd

Func ErrorFunc()

log it

EndFunc

Best regards!

Link to comment
Share on other sites

Hi,

_FileWriteLog or ConsoleWrite will help you, I guess.

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...