Project

General

Profile

Simulate client-side browser events, in debugging model

Added by Anonymous over 9 years ago

This is a simple question but I could not find the answer in the Forum:

How to I simulate a client-side browser event? Say, only to simulate a user click on a Wt::WButton created on the page.

The objective is the debug the Server-side program without having to manually reproducing all the client-side mouse-events all the time.

A million thanks,

Xidi

PS: I love Wt!


Replies (1)

RE: Simulate client-side browser events, in debugging model - Added by Wim Dumon over 9 years ago

Hey,

For testing of server-side code without client present, we created the WTestEnvironment class.

BR,

Wim.

    (1-1/1)