Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

XMLLib for PUGXML with XPath

, 29 Oct 2009 CPOL
A library for PugXML which implements XPath
<xml>
	<screen-coordinates absolute="yes"/>
	<state/>
	<top-window class="Notepad" title="Untitled - Notepad" hwnd="0x3f0500">
		<window-size left="37" top="143" width="988" height="516"/>
		<find-child-window class="Edit" ID="0x00000f" title=""/>
		<input play="{CLICK LEFT, 859, 754}"/>
		<input play="{ESC}"/>
		<input play="{CLICK LEFT, 793, 416}"/>
		<input play="t"/>
		<input play="{CLICK LEFT, 249, 231}"/>
		<sleep millisec="6204"/>
		<input play="his is notepad"/>
		<input play="{CLICK LEFT, 856, 752}"/>
		<input play="{DBLCLICK LEFT, 524, 380}"/>
		<sleep millisec="7953"/>
		<input play="newnewnew"/>
	</top-window>
	<state name="Untitled - Notepad">
		<window hwnd="0x3f0500" ID="0x3f063d" text="Untitled - Notepad" class="Notepad">
			<window hwnd="0x280516" ID="0x00000f" text="" class="Edit"/>
			<window hwnd="0x230420" ID="0x000401" text="" class="msctls_statusbar32"/>
		</window>
	</state>
	<top-window class="HH Parent" title="MSDN Library - October 2001" hwnd="0x290534">
		<window-size left="0" top="0" width="996" height="704"/>
		<find-child-window class="Internet Explorer_Server" ID="0x000000" title=""/>
		<input play="{CLICK LEFT, 744, 749}"/>
	</top-window>
	<state name="MSDN Library - October 2001">
		<window hwnd="0x290534" ID="0x4205d7" text="MSDN Library - October 2001" class="HH Parent">
			<window hwnd="0x22048c" ID="0x0003ee" text="" class="ToolbarWindow32"/>
			<window hwnd="0x340540" ID="0x000000" text="" class="HH Child">
				<window hwnd="0x0f0436" ID="0x000000" text="" class="Shell Embedding">
					<window hwnd="0x24052a" ID="0x000000" text="" class="Shell DocObject View">
						<window hwnd="0x190432" ID="0x000000" text="" class="Internet Explorer_Server"/>
					</window>
				</window>
			</window>
			<window hwnd="0x150452" ID="0x000000" text="" class="HH SizeBar"/>
			<window hwnd="0x31052e" ID="0x000000" text="Active Su&amp;amp;bset" class="Static"/>
			<window hwnd="0x330402" ID="0x001831" text="(Entire Collection)" class="ComboBox"/>
			<window hwnd="0x2e0524" ID="0x000000" text="" class="HH Child">
				<window hwnd="0x2d0510" ID="0x0003ef" text="" class="SysTabControl32"/>
				<window hwnd="0x210414" ID="0x000bca" text="Type in the key&amp;amp;word to find:" class="Static"/>
				<window hwnd="0x320512" ID="0x000bbb" text="CStrings" class="Edit"/>
				<window hwnd="0x15043e" ID="0x000bbe" text="&amp;amp;Display" class="Button"/>
				<window hwnd="0x36053a" ID="0x0000de" text="" class="hh_kwd_vlist"/>
			</window>
		</window>
	</state>
	<top-window class="HH Parent" title="MSDN Library - October 2001" hwnd="0x290534">
		<diffs hwnd="0x320512" ID="0x000bbb" oldText="CStringArray, class members" newText="CStrings"/>
		<window-size left="0" top="0" width="996" height="704"/>
		<find-child-window class="hh_kwd_vlist" ID="0x0000de" title=""/>
		<input play="{DBLCLICK LEFT, 53, 333}"/>
		<input play="{CLICK LEFT, 520, 432}"/>
		<input play="{DBLCLICK LEFT, 65, 460}"/>
	</top-window>
	<top-window class="Shell_TrayWnd" title="" hwnd="0x040108">
		<window-size left="0" top="734" width="1024" height="34"/>
		<input play="{CLICK LEFT, 925, 750}"/>
	</top-window>
	<state name="">
		<window hwnd="0x040108" ID="0x000000" text="" class="Shell_TrayWnd">
			<window hwnd="0x080106" ID="0x000130" text="start" class="Button"/>
			<window hwnd="0x020112" ID="0x00012f" text="" class="TrayNotifyWnd">
				<window hwnd="0x010114" ID="0x00012f" text="3:01 PM" class="TrayClockWClass"/>
				<window hwnd="0x010116" ID="0x000000" text="" class="SysPager">
					<window hwnd="0x010118" ID="0x000000" text="Notification Area" class="ToolbarWindow32"/>
				</window>
				<window hwnd="0x01011a" ID="0x0005de" text="" class="Button"/>
			</window>
			<window hwnd="0x010124" ID="0x00a005" text="" class="ReBarWindow32">
				<window hwnd="0x01012a" ID="0x000000" text="Running Applications" class="MSTaskSwWClass">
					<window hwnd="0x01012e" ID="0x000000" text="Running Applications" class="ToolbarWindow32"/>
				</window>
				<window hwnd="0x010128" ID="0x000000" text="Quick Launch" class="ToolbarWindow32"/>
			</window>
		</window>
	</state>
</xml>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

JCrane2
Web Developer
United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web02 | 2.8.141022.2 | Last Updated 29 Oct 2009
Article Copyright 2003 by JCrane2
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid