DWindowSet Command

Discussion of the technology underlying the eValid solution.

DWindowSet Command

Postby ssi2 » Mon Dec 20, 2010 5:55 pm

Does the DWindowSet command have any synchronization capability associated with it?
ssi2
 
Posts: 4
Joined: Thu Jun 17, 2010 2:58 pm

Re: DWindowSet Command

Postby eValid » Wed Dec 22, 2010 9:11 am

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
eValid
 
Posts: 2396
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Technology

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons