White Framework Cheat Sheet

Everyone is aware of automating rich client applications using White framework. As a software testing service provider, sharing our experience and knowledge is one of the success factors for Codoid. In this blog article, we would like to share useful White framework methods with examples.

Launch an Application

Attaching an existing Application

Attach or Launch

Get Windows

Speed up window search performance

You can store window’s position in White-framework cache xml file by providing identification string in GetWindow method. For the very first run, it will store the window position. And for the subsequent executions, it accesses the cache xml and identifies your window quickly. For more details, refer the following link: Speed up performance by Position based search

Desktop Windows

Get Modal windows

Get Tool tip

Take Screenshot

Button

ComboBox

Radiobutton

Textbox

Mouse

Checkbox

Menubar

Listbox

Tree

Wait Till using Delegate

Using the below technique, you can make your script to wait until a certain condition matches.

[Total: 7    Average: 4.4/5]