Page 1 of 1

DWindowSet Command

PostPosted: Mon Dec 20, 2010 5:55 pm
by ssi2
Does the DWindowSet command have any synchronization capability associated with it?

Re: DWindowSet Command

PostPosted: Wed Dec 22, 2010 9:11 am
by eValid
ssi2 wrote:Does the DWindowSet command have any synchronization capability associated with it?

The DWindowSet command has been the subject of some other posts that have uncovered some unusual properties when two or more such commands are used, so this is a timely question.

When making a recording of a desktop window, not a browser window, eValid makes sure to record the title and location of the window. The script records the key facts about the opening of a desktop window from within the browser process by using a DWindowSet command. The arguments recorded include the title of the desktop window.

In case the window has an empty title, to prevent eValid at playback time from searching for a desktop window that doesn't have a title, eValid automatically puts "eValid" in for the title of such activities.

At playback time, eValid will launch the DWindowSet command to cause playback to wait until the required window has appeared, in the right place and with the right title (which may be just "eValid", if there was no original title string). This command is subject to the usual eValid playback synchronization delays and time limits.

So, yes, the DWindowSet command does have the effect of synchronizing eValid playback by waiting until a desktop window has appeared in the right place and with the right title.

The eValid Team