ล็อกแล้ว Can't replay codedui script

  • 8 มีนาคม 2555 16:51
     
     

    Hi,

    I got VS2010 ULTIMATE (no service pack 2) to work for a while on physical workstation.  Management changes how/where to work.  I am attempting to get VS2010 ULTIMATE (with SP2) to work on Virtual Workstation.  After create very simple script to launch login site and login, the script failed replay.  It seems to me that the TextField is not recognized.

    I think this is configuration issue.

    Could someone help me to resolve this?

    Here is the script as below:

      this.uimap.LogonTestApp("som", "thin", "abc");

    --------------------------- in Uimap.cs -----------------------------

          public void LogonTestApp(string div, string uid, string pwd) {

                HtmlEdit tDivision = this.UITestAppLoginWindowsIWindow.UITestAppLoginDocument.UITxtDivisionCodeEdit;
                HtmlEdit tLastName = this.UITestAppLoginWindowsIWindow.UITestAppLoginDocument.UITxtLastNameEdit;
                HtmlEdit tPwd = this.UITestAppLoginWindowsIWindow.UITestAppLoginDocument.UITxtPasswordEdit;
                HtmlControl bOk = this.UITestAppLoginWindowsIWindow.UITestAppLoginDocument.UIOKButton;

                tDivision.Text = div;
                tLastName.Text = uid;
                tPwd.Text = pwd;

            }

    Below is from log file:

    <?xml version="1.0" encoding="UTF-8"?>
    <TestRun id="b47353fb-681b-4b89-a814-7c7fefe5b4bd" name="userid@TheWorkStation 2012-03-08 10:17:23" runUser="US\userid" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
      <TestSettings name="Local" id="ef03cb0a-4ed5-493b-b42f-fb9c69603811">
        <Description>These are default test settings for a local test run.</Description>
        <Deployment enabled="false" runDeploymentRoot="userid_TheWorkStation 2012-03-08 10_17_23" />
        <Execution>
          <TestTypeSpecific />
          <AgentRule name="Execution Agents">
          </AgentRule>
        </Execution>
      </TestSettings>
      <Times creation="2012-03-08T10:17:23.7507498-05:00" queuing="2012-03-08T10:17:24.7652893-05:00" start="2012-03-08T10:17:24.8589391-05:00" finish="2012-03-08T10:18:42.1668490-05:00" />
      <ResultSummary outcome="Failed">
        <Counters total="1" executed="1" error="0" failed="1" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" passed="0" completed="0" inProgress="0" pending="0" />
      </ResultSummary>
      <TestDefinitions>
        <UnitTest name="theTest" storage="h:\MEUSER\bktemp\bktest\bktest\bin\debug\bktest.dll" id="51a6cb1a-3a71-5ffa-75a2-c9dc78b5334e">
          <Execution id="485f5163-29c2-49e2-a9c3-dceffe710f2b" />
          <TestMethod codeBase="H:/MEUSER/BKTEMP/BKTEST/BKTEST/bin/Debug/BKTEST.DLL" adapterTypeName="Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" className="BKTEST.WEBTA.WebArt, BKTEST, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="theTest" />
          <Extension>Microsoft.VisualStudio.TestTools.UITesting.CodedUITestAttribute, Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Extension>
        </UnitTest>
      </TestDefinitions>
      <TestLists>
        <TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
        <TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
      </TestLists>
      <TestEntries>
        <TestEntry testId="51a6cb1a-3a71-5ffa-75a2-c9dc78b5334e" executionId="485f5163-29c2-49e2-a9c3-dceffe710f2b" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
      </TestEntries>
      <Results>
        <UnitTestResult executionId="485f5163-29c2-49e2-a9c3-dceffe710f2b" testId="51a6cb1a-3a71-5ffa-75a2-c9dc78b5334e" testName="theTest" computerName="TheWorkStation" duration="00:01:15.7024903" startTime="2012-03-08T10:17:24.9057640-05:00" endTime="2012-03-08T10:18:42.0575909-05:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="485f5163-29c2-49e2-a9c3-dceffe710f2b">
          <Output>
            <DebugTrace>E, 2856, 14, 2012/03/08, 10:17:29.104, 21302456311093, QTAgent32.exe, LoadLibrary() : Unable to find the resource 37382 from assembly C:\WINDOWS\system32\en-US\ieframe.dll.mui: Error1814
    E, 2856, 14, 2012/03/08, 10:17:29.104, 21302475188890, QTAgent32.exe, LoadLibrary() : Unable to find the resource 41728 from assembly C:\WINDOWS\system32\en-US\ieframe.dll.mui: Error1814
    E, 2856, 14, 2012/03/08, 10:17:29.120, 21302503520912, QTAgent32.exe, LoadIEStrings() - Could not find user32 resource assembly in en-US or en-US
    E, 2856, 14, 2012/03/08, 10:17:29.869, 21304518389312, QTAgent32.exe, IEDOM : Could not get valid window handle of Internet Explorer_server
    W, 2856, 14, 2012/03/08, 10:17:29.869, 21304518707860, QTAgent32.exe, IEDOM : Unable to get the document Window Handle
    W, 2856, 14, 2012/03/08, 10:17:35.472, 21319467658272, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:35.503, 21319545392022, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:35.503, 21319553633881, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:35.503, 21319560205881, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1507 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:37.220, 21324137767584, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:37.236, 21324166249118, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:37.236, 21324166711292, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:37.236, 21324167912892, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1715 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:38.578, 21327761667978, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:38.594, 21327792093084, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:38.594, 21327792575698, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:38.594, 21327793781404, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1103 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:40.295, 21332335303864, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:40.311, 21332366183284, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:40.311, 21332366813584, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:40.311, 21332368046104, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1694 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:41.903, 21336636295592, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:41.918, 21336666331932, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:41.918, 21336666773132, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:41.918, 21336667995778, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1538 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:43.479, 21340819071624, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:43.479, 21340855841584, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:43.495, 21340856401224, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:43.495, 21340857737478, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1550 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:45.071, 21345094160332, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:45.087, 21345123339604, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:45.087, 21345123838784, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:45.087, 21345125001112, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1575 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:46.632, 21349253364644, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:46.648, 21349283762464, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:46.648, 21349284200958, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:46.648, 21349285420812, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1539 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:47.225, 21350833250872, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:47.787, 21352339181244, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:48.302, 21353721074592, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:48.755, 21354910347638, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:49.161, 21355996666618, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:49.504, 21356895888804, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:49.785, 21357646864512, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:50.003, 21358248064444, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:50.175, 21358696049064, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:50.284, 21358996825298, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:50.347, 21359146657632, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:50.347, 21359148140704, QTAgent32.exe, Playback - [WARNING] Internal failure: GetParent failed while walking up the tree. Cannot get a valid window handle
    \0
    W, 2856, 14, 2012/03/08, 10:17:50.347, 21359149362978, QTAgent32.exe, Playback - [WARNING] Internal failure: Getting window handle for TechnologyElement didn't return S_OK
    \0
    W, 2856, 14, 2012/03/08, 10:17:50.909, 21360682953152, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:51.486, 21362198831504, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:51.986, 21363539331784, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:52.438, 21364732585158, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:52.829, 21365779366658, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:53.172, 21366700828478, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:53.453, 21367466370572, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:53.687, 21368058521904, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:53.843, 21368503827704, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:53.952, 21368799614678, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:54.015, 21368948332012, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:17:54.015, 21368949585538, QTAgent32.exe, Playback - [WARNING] Internal failure: GetParent failed while walking up the tree. Cannot get a valid window handle
    \0
    W, 2856, 14, 2012/03/08, 10:17:55.841, 21373812231518, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:55.841, 21373842110884, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:55.841, 21373842638458, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:55.841, 21373845427738, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1835 ms for element 0_0_[MSAA]Name='http://TestApp-s-2-01/' &amp;&amp; ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:57.121, 21377244737864, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:57.136, 21377276137438, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:57.136, 21377276657904, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:57.136, 21377277992098, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1286 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:58.666, 21381356615435, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:58.666, 21381374285295, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:58.666, 21381374580061, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:58.666, 21381375195975, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1522 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:59.228, 21382865996527, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:59.228, 21382883579779, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:59.228, 21382883846930, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:59.946, 21384775497690, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:17:59.946, 21384789166759, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:17:59.946, 21384789448710, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:17:59.946, 21384790044935, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 714 ms for element 0_0_[MSAA]Name='TestApp Login - Windows Internet Explorer' &amp;&amp; ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:17:59.946, 21384791715253, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1281 ms for element 0_0_[MSAA]ControlType='Window'
    W, 2856, 14, 2012/03/08, 10:18:01.132, 21387929427100, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:01.132, 21387949441108, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:01.132, 21387949792804, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:01.132, 21387950606400, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1154 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:18:01.835, 21389801904061, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:02.147, 21390636246652, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:02.646, 21391996891852, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:03.083, 21393136397964, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:03.442, 21394116773738, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:03.786, 21395020409924, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:04.066, 21395761699792, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:04.285, 21396373604078, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:04.457, 21396823408024, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:04.566, 21397117680932, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:04.628, 21397267794932, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:04.628, 21397269024452, QTAgent32.exe, Playback - [WARNING] Internal failure: GetParent failed while walking up the tree. Cannot get a valid window handle
    \0
    W, 2856, 14, 2012/03/08, 10:18:05.175, 21398748142032, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:05.565, 21399795361595, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:06.002, 21400960345984, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:06.455, 21402137191492, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:06.845, 21403172571904, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:07.173, 21404052544618, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:07.438, 21404787026438, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:07.656, 21405372447098, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:07.844, 21405863572112, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:07.969, 21406172233052, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:08.015, 21406322307378, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:08.015, 21406323376184, QTAgent32.exe, Playback - [WARNING] Internal failure: GetParent failed while walking up the tree. Cannot get a valid window handle
    \0
    W, 2856, 14, 2012/03/08, 10:18:08.577, 21407811458372, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:09.030, 21409023369178, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:09.529, 21410344097518, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:09.966, 21411509234912, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:10.341, 21412532210878, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:10.669, 21413417127852, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:10.950, 21414156243184, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:11.168, 21414745783958, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:11.340, 21415183312018, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:11.449, 21415479088778, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:11.496, 21415626095312, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:11.512, 21415627453164, QTAgent32.exe, Playback - [WARNING] Internal failure: GetParent failed while walking up the tree. Cannot get a valid window handle
    \0
    W, 2856, 14, 2012/03/08, 10:18:12.058, 21417101939892, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:12.604, 21418580569644, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:13.119, 21419925586704, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:13.572, 21421127192018, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:13.947, 21422162580038, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:14.290, 21423044493204, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:14.555, 21423784085092, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:14.789, 21424374535684, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:14.945, 21424814560098, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:15.055, 21425109012052, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:15.117, 21425257177492, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:15.117, 21425258394338, QTAgent32.exe, Playback - [WARNING] Internal failure: GetParent failed while walking up the tree. Cannot get a valid window handle
    \0
    W, 2856, 14, 2012/03/08, 10:18:15.663, 21426732515044, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:16.225, 21428214143872, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:16.709, 21429531059592, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:17.162, 21430717264572, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:17.536, 21431746400672, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:17.880, 21432648730512, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:18.161, 21433395341664, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:18.379, 21433990577192, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:18.551, 21434432177272, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:18.660, 21434727693904, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:18.723, 21434876197158, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:18.723, 21434877536264, QTAgent32.exe, Playback - [WARNING] Internal failure: GetParent failed while walking up the tree. Cannot get a valid window handle
    \0
    W, 2856, 14, 2012/03/08, 10:18:18.723, 21434879877864, QTAgent32.exe, PERF WARNING: FindAllDescendents: took 17590 ms. Expected it to take maximum 500 ms.
    W, 2856, 14, 2012/03/08, 10:18:19.269, 21436368989504, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:21.080, 21441186703398, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:21.095, 21441217232272, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:21.095, 21441217702518, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:21.095, 21441219018692, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1817 ms for element 0_0_[MSAA]Name='http://TestApp-s-2-01/' &amp;&amp; ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:18:22.359, 21444599735684, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:22.375, 21444631127958, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:22.375, 21444631601478, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:22.375, 21444632832604, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1279 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:18:23.655, 21448047011044, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:23.671, 21448076888484, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:23.671, 21448077435478, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:23.671, 21448078607258, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1290 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:18:24.310, 21449805241541, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:24.310, 21449822922321, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:24.310, 21449823245204, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:24.779, 21451057882278, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:24.779, 21451072276253, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:24.779, 21451072562552, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:24.779, 21451073207087, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 468 ms for element 0_0_[MSAA]Name='TestApp Login - Windows Internet Explorer' &amp;&amp; ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:18:24.794, 21451074895159, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1122 ms for element 0_0_[MSAA]ControlType='Window'
    W, 2856, 14, 2012/03/08, 10:18:25.590, 21453228990904, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:25.606, 21453257578812, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:25.606, 21453258026598, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:25.606, 21453259475132, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 792 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:18:26.855, 21456596908298, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:26.870, 21456627236412, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:26.870, 21456627864278, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:26.870, 21456628959052, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1262 ms for element 0_0_[MSAA]Name='http://TestApp-s-2-01/' &amp;&amp; ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:18:28.478, 21460910706235, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:28.478, 21460928106078, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:28.478, 21460928475127, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:28.478, 21460929249062, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1610 ms for element 0_0_[MSAA]Name='http://TestApp-s-2-01/' &amp;&amp; ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:18:29.617, 21463983436058, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:29.633, 21464013280424, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:29.633, 21464013736858, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:29.633, 21464015042898, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1157 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:18:31.147, 21468056062012, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:31.162, 21468088485912, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:31.162, 21468088977972, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:31.162, 21468090024172, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 1527 ms for element 0_0_[MSAA]Name='http://TestApp-s-2-01/' &amp;&amp; ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:18:32.146, 21470710422398, QTAgent32.exe, Msaa:WindowHandleGetter: Using WindowFromPoint since WindowFromAccessibleObject returned invalid handle [0]
    E, 2856, 14, 2012/03/08, 10:18:32.161, 21470741041944, QTAgent32.exe, Msaa:WindowHandleGetter: Got invalid window handle [0] even after using WindowFromPoint
    W, 2856, 14, 2012/03/08, 10:18:32.161, 21470741648612, QTAgent32.exe, Msaa.GetProcessID: Window handle is IntPtr.Zero. Process ID will be 0
    W, 2856, 14, 2012/03/08, 10:18:32.161, 21470742941724, QTAgent32.exe, Msaa.MsaaElement() took more time. Total time taken 994 ms for element 0_0_[MSAA]ControlType='Client'
    W, 2856, 14, 2012/03/08, 10:18:32.739, 21472312133724, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:33.301, 21473802195064, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:33.707, 21474877954719, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:33.956, 21475527923435, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:34.159, 21476097736238, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:34.347, 21476584542652, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:34.518, 21477046015522, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:34.721, 21477607820284, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:34.862, 21477979077861, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:34.924, 21478141954690, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:34.971, 21478242599092, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:34.971, 21478244125472, QTAgent32.exe, Playback - [WARNING] Internal failure: GetParent failed while walking up the tree. Cannot get a valid window handle
    \0
    W, 2856, 14, 2012/03/08, 10:18:35.439, 21479493888142, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:35.970, 21480924304998, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:36.469, 21482246538778, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:36.906, 21483412665418, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:37.281, 21484439628064, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:37.624, 21485334215078, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:37.874, 21486008988670, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:38.030, 21486433284144, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:38.202, 21486873997552, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:38.311, 21487170661932, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:38.374, 21487324572824, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:38.374, 21487325856724, QTAgent32.exe, Playback - [WARNING] Internal failure: GetParent failed while walking up the tree. Cannot get a valid window handle
    \0
    W, 2856, 14, 2012/03/08, 10:18:38.764, 21488386387332, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:39.341, 21489921987364, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:39.841, 21491244268933, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:40.090, 21491902326498, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:40.293, 21492471839035, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:40.590, 21493253406698, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:40.871, 21493994708598, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:41.089, 21494582925732, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:41.261, 21495022607752, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:41.370, 21495318154138, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:41.417, 21495466188458, QTAgent32.exe, Playback - [WARNING] Internal failure: WindowFromAccessibleObject failed for real IAccessible (Incorrect function.)
    \0
    W, 2856, 14, 2012/03/08, 10:18:41.417, 21495467417044, QTAgent32.exe, Playback - [WARNING] Internal failure: GetParent failed while walking up the tree. Cannot get a valid window handle
    \0
    W, 2856, 14, 2012/03/08, 10:18:41.417, 21495469406564, QTAgent32.exe, Playback - [WARNING] Internal failure: Could not convert element to target technology\0
    E, 2856, 14, 2012/03/08, 10:18:41.417, 21495471784892, QTAgent32.exe, &lt;a class=failure&gt;Playback - {1} [FAILED] Function ElementFetcher::FindScreenElement failed to locate UI element (Searching: ;[Web]ControlType='Document' &amp;&amp; TagName='BODY' &amp;&amp; Id='' &amp;&amp; RedirectingPage='False' &amp;&amp; FrameDocument='False' &amp;&amp; FilterCondition(Title='TestApp Login', AbsolutePath='/', PageUrl='http://TestApp-s-2-01/')) (The object specified was not found.)
    \0&lt;/a&gt;
    E, 2856, 14, 2012/03/08, 10:18:41.573, 21495879030398, QTAgent32.exe, Playback - [IMAGE] C:\Documents and Settings\userid\Local Settings\Temp\UITestLogs\LastRun\RPFAE.png
    \0
    W, 2856, 14, 2012/03/08, 10:18:41.573, 21495879693712, QTAgent32.exe, Playback - [WARNING] Internal warning: Couldn't find descendants that match QueryId
    \0
    W, 2856, 14, 2012/03/08, 10:18:41.573, 21495880835792, QTAgent32.exe, PERF WARNING: FindAllDescendents: took 9426 ms. Expected it to take maximum 500 ms.
    E, 2856, 14, 2012/03/08, 10:18:41.698, 21496198542858, QTAgent32.exe, AL: Playback Error: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: The playback failed to find the control with the given search properties. Additional Details:
    TechnologyName:  'Web'
    ControlType:  'Document'
    TagName:  'BODY'
    Id:  ''
    RedirectingPage:  'False'
    FrameDocument:  'False'
     ---&gt; System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
       at Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.IScreenElement.FindAllDescendants(String bstrQueryId, Object&amp; pvarResKeys, Int32 cResKeys, Int32 nMaxDepth)
       at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindAllScreenElement(String queryId, Int32 depth, Boolean singleQueryId, Boolean throwException)
       at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindScreenElement(String queryId, Int32 depth)
       at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String queryId, Int32 maxDepth, Int32&amp; timeLeft)
       --- End of inner exception stack trace ---
       at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapControlNotFoundException(COMException ex, IPlaybackContext context)
       at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowComException(COMException innerException, IPlaybackContext context)
       at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, IPlaybackContext context)
       at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, String queryId)
       at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String queryId, Int32 maxDepth, Int32&amp; timeLeft)
       at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.GetUITestControlRecursive(Boolean useCache, Boolean alwaysSearch, ISearchArgument searchArg, IList`1 windowTitles, Int32&amp; timeLeft)
       at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.GetUITestControlRecursive(Boolean useCache, Boolean alwaysSearch, ISearchArgument searchArg, IList`1 windowTitles, Int32&amp; timeLeft)
       at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.GetElement(Boolean useCache, ISearchArgument searchArg)
       at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.Search(ISearchArgument searchArg)
       at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindInternal()
       at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindControlIfNecessary()
       at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.SetProperty(String propertyName, Object value)
    W, 2856, 14, 2012/03/08, 10:18:42.041, 21497120938970, QTAgent32.exe, IEDOM : StopSession of the plugin called before StartSession
    W, 2856, 14, 2012/03/08, 10:18:42.041, 21497121264592, QTAgent32.exe, UIA : StopSession of the plugin called before StartSession
    </DebugTrace>
            <ErrorInfo>
              <Message>Test method BKTEST.WEBTA.WebArt.theTest threw exception:
    Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: The playback failed to find the control with the given search properties. Additional Details:
    TechnologyName:  'Web'
    ControlType:  'Document'
    TagName:  'BODY'
    Id:  ''
    RedirectingPage:  'False'
    FrameDocument:  'False'
     ---&gt; System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.</Message>
              <StackTrace>    at Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.IScreenElement.FindAllDescendants(String bstrQueryId, Object&amp; pvarResKeys, Int32 cResKeys, Int32 nMaxDepth)
       at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindAllScreenElement(String queryId, Int32 depth, Boolean singleQueryId, Boolean throwException)
       at Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.FindScreenElement(String queryId, Int32 depth)
       at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String queryId, Int32 maxDepth, Int32&amp; timeLeft)
     --- End of inner exception stack trace ---
        at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapControlNotFoundException(COMException ex, IPlaybackContext context)
       at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowComException(COMException innerException, IPlaybackContext context)
       at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, IPlaybackContext context)
       at Microsoft.VisualStudio.TestTools.UITesting.Playback.MapAndThrowException(SystemException exception, String queryId)
       at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindFirstDescendant(String queryId, Int32 maxDepth, Int32&amp; timeLeft)
       at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.GetUITestControlRecursive(Boolean useCache, Boolean alwaysSearch, ISearchArgument searchArg, IList`1 windowTitles, Int32&amp; timeLeft)
       at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.GetUITestControlRecursive(Boolean useCache, Boolean alwaysSearch, ISearchArgument searchArg, IList`1 windowTitles, Int32&amp; timeLeft)
       at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.GetElement(Boolean useCache, ISearchArgument searchArg)
       at Microsoft.VisualStudio.TestTools.UITesting.SearchHelper.Search(ISearchArgument searchArg)
       at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindInternal()
       at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.FindControlIfNecessary()
       at Microsoft.VisualStudio.TestTools.UITesting.UITestControl.SetProperty(String propertyName, Object value)
       at Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlEdit.set_Text(String value)
       at BKTEST.UIMap.LogonTestApp(String div, String uid, String pwd) in H:\MEUSER\BKTEMP\BKTEST\BKTEST\UIMap.cs:line 50
       at BKTEST.WEBTA.WebArt.theTest() in H:\MEUSER\BKTEMP\BKTEST\BKTEST\WEBTA\WebArt.cs:line 25
    </StackTrace>
            </ErrorInfo>
          </Output>
          <ResultFiles>
            <ResultFile path="TheWorkStation\theTest.png" />
          </ResultFiles>
          <ExtensionResult>Exception has been thrown by the target of an invocation.</ExtensionResult>
        </UnitTestResult>
      </Results>
    </TestRun>

ตอบทั้งหมด

  • 12 มีนาคม 2555 10:57
    ผู้ดูแล
     
     

    Hi LearnVSTest,

    As far as I know there is not sp2 for Visual studio 2010, did you mean that is Feature Pack 2?
    Also I have some doubts about this issue, please answer me the following questions:
    1. Which version of IE did you used in this test?
    2. Where does this test run locally or remotely?


    Tony Xiao [MSFT]
    MSDN Community Support | Feedback to us

  • 12 มีนาคม 2555 15:41
     
     

    Tony,

    Thank for responding.

    1) My Visual Studio was installed with SP1 (sorry for confusing)

    2) There is no Feature Pack 2 installed with this Visual Studio

    3) Internet Explore 8

    4) The script run locally on virtual workstation


    • แก้ไขโดย LearnVSTest 12 มีนาคม 2555 15:42
    •  
  • 13 มีนาคม 2555 11:10
    ผู้ดูแล
     
     

    Hi LearnVSTest,

    As the error message says playback failed during search body tag, so I guess your login script should be after this search process, you could debug your test with a breakpoint at login script’s beginning and please let me know the result.

    Could you please provide us the code snippet of launch login site?  I think there might be some problems when redirecting to the login page.


    Tony Xiao [MSFT]
    MSDN Community Support | Feedback to us

  • 15 มีนาคม 2555 12:34
     
     
    Thanks Tony for looking into my issue.  Please see below screenshot.
  • 15 มีนาคม 2555 17:58
     
     
  • 20 มีนาคม 2555 10:47
    ผู้ดูแล
     
     

    Hi LearnVSTest,

    Could you get a try on tPwd/tUserid.DrawHighlight() in UIMap? And let me know the result.

    Have a nice day! 


    Tony Xiao [MSFT]
    MSDN Community Support | Feedback to us

  • 20 มีนาคม 2555 13:50
     
     

    Tony,

    I tried per your suggestion and I still get the same issue.  I also attempted to use Exist() for tPwd and/or tUserid  Exist() to prompt message.  It appears to me the it can't see those two text fields.

    I used a VS2010 on my co-worker to do the same thing and I was able to do it.  I compared the setting for VS on both workstation and they are identical.

  • 21 มีนาคม 2555 11:43
    ผู้ดูแล
     
     คำตอบ
    Hi LearnVSTest,

    If this test works fine in your co-worker's computer then that reason is not related to the Coded UI, I guess there might be some problems with network connection of Virtual station to test runner. Please try to verify this by ping and let me know the result.

    Tony Xiao [MSFT]
    MSDN Community Support | Feedback to us

    • ทำเครื่องหมายเป็นคำตอบโดย Tony xiaoModerator 5 เมษายน 2555 9:33
    •