This is a migrated thread and some comments may be shown as answers.

Window is maximized but error message comes up that Window is not maximized

3 Answers 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 04 Apr 2014, 12:05 PM
Hello I have Problem in running my Telerik Test.

During selecting an Item from a Combobox it comes up a message that said the actual Window is not maximized. But the Window ist maximized. The Error did not comes in everytime only sometimes. But i am worry about it.
The error message is:


'Fail' : 6. Select by text 'Titel' in MetadataComboBoxCombobox
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Point (394, 1015) outside bounds of browser window: (0, 105, 1280, 879)
You might need to maxmize the browser while running this test. Try adding the following code in a coded step: ActiveBrowser.Window.Maximize();
InnerException:
System.InvalidOperationException: Point (394, 1015) outside bounds of browser window: (0, 105, 1280, 879)
You might need to maxmize the browser while running this test. Try adding the following code in a coded step: ActiveBrowser.Window.Maximize();
at ArtOfTest.WebAii.Silverlight.SilverlightApp.ValidateMouseLocation(Point point)
at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType, Point offsetPoint, OffsetReference reference)
at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType)
at ArtOfTest.WebAii.Silverlight.UI.ComboBox.SelectItemByText(Boolean simulateRealUser, String text)
at ArtOfTest.WebAii.Silverlight.UI.ComboBox.SelectItemByText(Boolean simulateRealUser, String text, Boolean openDropDownBeforeSelection)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors.ComboBoxSelectItemActionDescriptor.Execute(IApplication hostApp)
at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)                                                                  

Please help me. Christian




3 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 09 Apr 2014, 08:13 AM
Hello Christian,

I am sorry to hear you are experiencing this behavior. From the log provided I am not able to determine why you are experiencing this behavior, nor I am able to reproduce it on my end. This might be specific to the application/test you are using. 
You can try adding an additional coded step before the failing step as a precaution to see if there will be any difference. Please use the code below.

ActiveBrowser.Window.Maximize();

In case this workaround is not working for you we will need to get reliable repro in order to investigate this further.

Thank you for your understanding and cooperation in advance.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Christian
Top achievements
Rank 1
answered on 05 Jun 2014, 11:29 AM
hello,
in the attachments you can see, that i am using already the function before the problem for maximize the active window. but the Problem still comes up.
Please help me. if you want coded steps or something else please do not hesitate to ask me for that.
Greetings Christian
0
Ivaylo
Telerik team
answered on 09 Jun 2014, 01:39 PM
Hello Christian,

Please try upgrading to the latest internal build available, since we've added the option to change the browser state which works flawlessly. In case you are still experience the behavior described, we will need a reliable local repro in order to investigate further.

Thank you for your understanding.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Christian
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Christian
Top achievements
Rank 1
Share this question
or