This project is read-only.

Can White be intgrated in Application for automatical operation?

Aug 13, 2010 at 10:08 AM


I have used White to implement the automatical test, but I have thought about implementing some automatical operation

in my windows application, e.g. after user has clicked the button, the other program starts to run, click table, select the item

and save it.

Is it possible?


Aug 15, 2010 at 6:18 AM

It is not advisable to do so. There can be thread related issues.

Sep 7, 2010 at 9:01 AM
Edited Sep 7, 2010 at 10:01 AM

Now, I think about another method. I create a console application and input some information in console, because I need customer input somethings at the beginning through the console. Then white calls the other operations automatically. The programm seems mostly no problem. But sometimes, it stops at the beginning accidentally.

In the console, I have got this following message:

"UI actions on window needing mouse would not work in area not falling under the desktop,

Window 'Desktop' is NOT found."

But window 'Desktop' is ready open in the desktop.

Is it also a thread problem? If yes, how to slove it, how can I control it, I don't quite know about the process or thread about white.

Thanks again.  

Sep 7, 2010 at 11:06 AM
Edited Sep 7, 2010 at 11:18 AM

I have made the thread to wait, until now, the programm seems no problem after testing many times.