Commit 910f2c9e authored by wwalkowski's avatar wwalkowski

No commit message

No commit message
parent 77d82c63
......@@ -81,8 +81,8 @@ dlnaCTT = App(<span class="str">"C:\\Program Files (x86)\\Digital Living Network
dlnaCTT.open()
dlnaCTT.focus()
<span class="cmt">#dlnaCTT.focus()
</span>
<span class="cmt">#-------------------------------------------------------
</span><span class="cmt"># Launch tool
</span><span class="cmt">#-------------------------------------------------------
......@@ -90,14 +90,14 @@ dlnaCTT.focus()
<span class="cmt"># OK the Manage Test Media window
</span><span class="skw">find</span>(<img src="1370385233306.png" />)
dlnaCTT.focus()
<span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">click</span>(<img src="1370385250314.png" />)
<span class="cmt"># Get past the Network Interface window
</span>
dlnaCTT.focus()
<span class="kw">if</span> exists(<img src="1369436364973.png" />):
<span class="cmt">#dlnaCTT.focus()
</span><span class="kw">if</span> exists(<img src="1369436364973.png" />):
dlnaCTT.focus()
<span class="skw">click</span>(<img src="1369436375230.png" />)
......@@ -105,16 +105,16 @@ dlnaCTT.focus()
<span class="cmt"># Load Profile
</span>
<span class="cmt"># Open list of profiles
</span>dlnaCTT.focus()
</span><span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">click</span>(<img src="1370472176068.png" />)
<span class="cmt"># do not focus here, the drop down menu will disappear
</span>
<span class="skw">click</span>(<img src="1370386016919.png" />)
dlnaCTT.focus()
<span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">click</span>(<img src="1370386292743.png" />)
<span class="cmt"># Select Renderer device
......@@ -122,20 +122,20 @@ dlnaCTT.focus()
<span class="cmt">#
</span><span class="cmt"># This is the UPnP Friendly Name, and is by nature device specific
</span><span class="cmt">#
</span>dlnaCTT.focus()
</span><span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">wait</span>(<img src="1370472295354.png" />, <span class="dig">5</span>)
dlnaCTT.focus()
<span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">click</span>(<img src="1370472295354.png" />)
dlnaCTT.focus()
<span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">click</span>(<img src="1370472370187.png" />)
dlnaCTT.focus()
<span class="cmt">#dlnaCTT.focus()
</span>
<span class="cmt"># Select Auto tests
</span><span class="skw">click</span>(<img src="1370472404187.png" />)
......@@ -153,16 +153,16 @@ dlnaCTT.focus()
<span class="cmt"># Start - Launch a single test for testing purposes
</span>dlnaCTT.focus()
</span><span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">click</span>(Pattern(<img src="1370545400919.png" />).targetOffset(-<span class="dig">68</span>,<span class="dig">0</span>))
dlnaCTT.focus()
<span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">click</span>(<img src="1370545463422.png" />)
dlnaCTT.focus()
<span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">click</span>(<img src="1370545494663.png" />)
<span class="skw">sleep</span> ( <span class="dig">45</span> )
......@@ -179,31 +179,31 @@ dlnaCTT.focus()
</span><span class="cmt">#-------------------------------------------------------
</span>
<span class="cmt"># Save results
</span>dlnaCTT.focus()
</span><span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">click</span>(<img src="1370475057021.png" />)
dlnaCTT.focus()
<span class="cmt">#dlnaCTT.focus()
</span>
textBox = <span class="skw">find</span>(<img src="1370475089332.png" />)
<span class="cmt"># dlnaCTT.focus() DO NOT FOCUS
</span>
textBox.<span class="skw">type</span> ( <span class="str">"C:\dmr_dlna_ctt_results.trf"</span> )
dlnaCTT.focus()
<span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">click</span>(<img src="1370475316507.png" />)
dlnaCTT.focus()
<span class="cmt">#dlnaCTT.focus()
</span>
<span class="kw">if</span> exists(<img src="1370543994284.png" />):
dlnaCTT.focus()
<span class="skw">click</span>(<img src="1370544016236.png" />)
<span class="cmt"># dlnaCTT.focus()
</span> <span class="skw">click</span>(<img src="1370544016236.png" />)
<span class="cmt"># Close CTT
</span>dlnaCTT.focus()
</span><span class="cmt">#dlnaCTT.focus()
</span>
<span class="skw">click</span>(Pattern(<img src="1370475354988.png" />).targetOffset(-<span class="dig">15</span>,-<span class="dig">15</span>))
<span class="cmt"># dlnaCTT.focus() DO NOT FOCUS
......
......@@ -9,7 +9,7 @@ dlnaCTT = App("C:\\Program Files (x86)\\Digital Living Network Alliance\\DLNA CT
dlnaCTT.open()
dlnaCTT.focus()
#dlnaCTT.focus()
#-------------------------------------------------------
# Launch tool
......@@ -18,13 +18,13 @@ dlnaCTT.focus()
# OK the Manage Test Media window
find("1370385233306.png")
dlnaCTT.focus()
#dlnaCTT.focus()
click("1370385250314.png")
# Get past the Network Interface window
dlnaCTT.focus()
#dlnaCTT.focus()
if exists("1369436364973.png"):
dlnaCTT.focus()
......@@ -33,7 +33,7 @@ if exists("1369436364973.png"):
# Load Profile
# Open list of profiles
dlnaCTT.focus()
#dlnaCTT.focus()
click("1370472176068.png")
......@@ -41,7 +41,7 @@ click("1370472176068.png")
click("1370386016919.png")
dlnaCTT.focus()
#dlnaCTT.focus()
click("1370386292743.png")
......@@ -50,19 +50,19 @@ click("1370386292743.png")
#
# This is the UPnP Friendly Name, and is by nature device specific
#
dlnaCTT.focus()
#dlnaCTT.focus()
wait("1370472295354.png", 5)
dlnaCTT.focus()
#dlnaCTT.focus()
click("1370472295354.png")
dlnaCTT.focus()
#dlnaCTT.focus()
click("1370472370187.png")
dlnaCTT.focus()
#dlnaCTT.focus()
# Select Auto tests
click("1370472404187.png")
......@@ -81,15 +81,15 @@ click("1370472404187.png")
# Start - Launch a single test for testing purposes
dlnaCTT.focus()
#dlnaCTT.focus()
click(Pattern("1370545400919.png").targetOffset(-68,0))
dlnaCTT.focus()
#dlnaCTT.focus()
click("1370545463422.png")
dlnaCTT.focus()
#dlnaCTT.focus()
click("1370545494663.png")
......@@ -107,11 +107,11 @@ sleep ( 45 )
#-------------------------------------------------------
# Save results
dlnaCTT.focus()
#dlnaCTT.focus()
click("1370475057021.png")
dlnaCTT.focus()
#dlnaCTT.focus()
textBox = find("1370475089332.png")
......@@ -119,18 +119,18 @@ textBox = find("1370475089332.png")
textBox.type ( "C:\dmr_dlna_ctt_results.trf" )
dlnaCTT.focus()
#dlnaCTT.focus()
click("1370475316507.png")
dlnaCTT.focus()
#dlnaCTT.focus()
if exists("1370543994284.png"):
dlnaCTT.focus()
# dlnaCTT.focus()
click("1370544016236.png")
# Close CTT
dlnaCTT.focus()
#dlnaCTT.focus()
click(Pattern("1370475354988.png").targetOffset(-15,-15))
......
......@@ -82,24 +82,63 @@ upnpCTT.open()
<span class="cmt">#upnpCTT.focus()
</span>
<span class="skw">wait</span>(<img src="1370893031803.png" />, <span class="dig">60</span>)
<span class="cmt"># Wait for main window to pop up
</span><span class="skw">wait</span>(<img src="1370893031803.png" />, <span class="dig">60</span>)
<span class="cmt"># Click file to select the DUT
</span><span class="skw">click</span>(Pattern(<img src="1370890871743.png" />).targetOffset(-<span class="dig">27</span>,-<span class="dig">8</span>))
<span class="skw">click</span>(Pattern(<img src="1370890871743.png" />).targetOffset(-<span class="dig">27</span>,-<span class="dig">8</span>))
<span class="cmt"># Open window that lists the DUTs
</span>
<span class="skw">click</span>(<img src="1370890947846.png" />)
<span class="cmt"># Wait for DMR to appear in the list
</span>
<span class="skw">wait</span>(<img src="1370890985247.png" />, <span class="dig">60</span>)
<span class="skw">click</span>(<img src="1370891003527.png" />)
<span class="cmt"># Wait for the tool to finish loading the details
</span>
<span class="skw">wait</span>(<img src="1370893278200.png" />, <span class="dig">300</span>)
<span class="skw">click</span>(<img src="1370893302079.png" />)
<span class="cmt"># Wait for the profile details to appear
</span>
<span class="skw">wait</span>(<img src="1370893481822.png" />, <span class="dig">300</span>)
<span class="cmt"># Click next to list the test cases that will run
</span>
<span class="skw">click</span>(<img src="1370893504109.png" />)
<span class="cmt"># For prototyping only, select 1 test
</span>
<span class="skw">click</span>(<img src="1370984906937.png" />)
<span class="skw">click</span>(<img src="1370984963959.png" />)
<span class="skw">sleep</span> ( <span class="dig">10</span> )
<span class="cmt"># Save results
</span>
<span class="skw">click</span>(<img src="1370985044333.png" />)
textBox = <span class="skw">find</span>(<img src="1370985089022.png" />)
textBox.<span class="skw">type</span> ( <span class="str">"C:\dmr_upnp_ctt_results.uctt"</span> )
<span class="skw">click</span>(<img src="1370985156814.png" />)
<span class="kw">if</span> exists(Pattern(<img src="1370985251318.png" />).exact()):
<span class="skw">click</span>(<img src="1370985294965.png" />)
<span class="cmt"># Exit UPnP CTT
</span><span class="skw">find</span>(<img src="1370985333381.png" />)
<span class="skw">click</span>(Pattern(<img src="1370985349949.png" />).targetOffset(-<span class="dig">58</span>,<span class="dig">0</span>))
<span class="skw">click</span>(Pattern(<img src="1370985415758.png" />).targetOffset(<span class="dig">4</span>,<span class="dig">26</span>))
</pre>
</body>
</html>
......@@ -10,24 +10,63 @@ upnpCTT.open()
#upnpCTT.focus()
# Wait for main window to pop up
wait("1370893031803.png", 60)
# Click file to select the DUT
click(Pattern("1370890871743.png").targetOffset(-27,-8))
# Open window that lists the DUTs
click("1370890947846.png")
# Wait for DMR to appear in the list
wait("1370890985247.png", 60)
click("1370891003527.png")
# Wait for the tool to finish loading the details
wait("1370893278200.png", 300)
click("1370893302079.png")
# Wait for the profile details to appear
wait("1370893481822.png", 300)
# Click next to list the test cases that will run
click("1370893504109.png")
# For prototyping only, select 1 test
click("1370984906937.png")
click("1370984963959.png")
sleep ( 10 )
# Save results
click("1370985044333.png")
textBox = find("1370985089022.png")
textBox.type ( "C:\dmr_upnp_ctt_results.uctt" )
click("1370985156814.png")
if exists(Pattern("1370985251318.png").exact()):
click("1370985294965.png")
# Exit UPnP CTT
find("1370985333381.png")
click(Pattern("1370985349949.png").targetOffset(-58,0))
click(Pattern("1370985415758.png").targetOffset(4,26))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment