Completed
Last Updated: 03 Jun 2013 11:01 by ADMIN
ADMIN
Cody
Created on: 20 Feb 2013 15:26
Type: Bug Report
0
Test fails in FF with mozCommandProcessor: SetTargetObjects(). Error:Target frame index is out of range
Bug 1) Run the attached test in Firefox. Even though step 9 actually succeeded to click on the link it will fail as shown below.
Bug 2) If you modify Step 9 to use SimulateRealMouseClick, it will click on the wrong link. It appears we are incorrectly calculating the screen coordinates to click on.
 
Overall Result: Fail
------------------------------------------------------------
'1/14/2013 5:42:22 PM' - Using .Net Runtime version: '4.0.30319.17929' for tests execution.
'1/14/2013 5:42:22 PM' - Starting execution....
'1/14/2013 5:42:24 PM' - Detected custom code in test. Locating test assembly: ATT_apps_full.dll.
'1/14/2013 5:42:24 PM' - Assembly Found: C:\Users\gibson\Documents\Support Issues\ATT_apps_Smoke2\bin\ATT_apps_full.dll
'1/14/2013 5:42:24 PM' - Loading code class: 'ATT_apps_full.FirefoxReproWebTest'.
------------------------------------------------------------
------------------------------------------------------------
'1/14/2013 5:42:24 PM' - Enabling Html Popup Tracker. Test expecting Popups.
'1/14/2013 5:42:24 PM' - Using 'FireFox' version '18.0' as default browser. 
'1/14/2013 5:42:26 PM' - 'Pass' : 1. Navigate to : 'https://websitesportal.att.com/portal/'
'1/14/2013 5:42:28 PM' - 'Pass' : 2. Enter text 'yvilinchuk@hostopia.com' in 'UserText'
'1/14/2013 5:42:28 PM' - 'Pass' : 3. Enter text 'Temp1234%' in 'PasswordPassword'
'1/14/2013 5:42:28 PM' - 'Pass' : 4. Click 'ButtonLoginSubmit'
'1/14/2013 5:42:28 PM' - 'NotRun' : 5. Wait for 'TextContent' 'Contains' 'Account Info' on 'AccountInfoH2Tag'
'1/14/2013 5:42:30 PM' - 'Pass' : 6. Click 'LearnMoreOfManageWebsiteButton'
'1/14/2013 5:42:31 PM' - 'Pass' : 7. Click 'AnIntuitivePTag'
'1/14/2013 5:42:33 PM' - 'Pass' : 8. Connect to pop-up window : 'https://websitesportal.att.com/OS4/index.php/Run/esw'
'1/14/2013 5:42:37 PM' - 'Fail' : 9. Click 'CreateNewSiteLink'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
ExecuteCommand failed!
InError set by the client. Client Error:
mozCommandProcessor: SetTargetObjects(). Error:Target frame index is out of range. TargetIndex : 0, Found frames count :0
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'af246304-562e-44c7-a4e8-bc4d40dfab93',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'0',InError:'True',Response:'mozCommandProcessor: SetTargetObjects(). Error:Target frame index is out of range. TargetIndex : 0, Found frames count :0')
InnerException: none.
InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
mozCommandProcessor: SetTargetObjects(). Error:Target frame index is out of range. TargetIndex : 0, Found frames count :0
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'af246304-562e-44c7-a4e8-bc4d40dfab93',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'0',InError:'True',Response:'mozCommandProcessor: SetTargetObjects(). Error:Target frame index is out of range. TargetIndex : 0, Found frames count :0')
InnerException: none.
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.IsReady()
   at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.Click(Element targetElement)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click()
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click(Boolean isClosing)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ClickActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'1/14/2013 5:42:37 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'1/14/2013 5:42:37 PM' - Overall Result: Fail
'1/14/2013 5:42:37 PM' - Duration: [0 min: 12 sec: 564 msec]
------------------------------------------------------------
'1/14/2013 5:42:39 PM' - Test completed!
0 comments