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

Browser.ContentWindow returns null with Chrome v32

9 Answers 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
uteotw
Top achievements
Rank 1
uteotw asked on 15 Jan 2014, 04:23 PM
Hi

Browser.ContentRectangle returns null with Chrome v32.
Browser.ResizeContent()  fails.

I tried with framework version 2013.2.1210 and 2013.2.1219

Thanks

9 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 15 Jan 2014, 05:01 PM
Hi,

Chrome 32 introduces serious changes breaking recording and execution in Test Studio.

We have just released an internal build which supports Chrome 32. You can download Telerik Testing Framework 1315 from here.

Hope this helps.

Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
uteotw
Top achievements
Rank 1
answered on 16 Jan 2014, 12:37 PM
Hi Boyan

using framework 1315:
.ContentWindow still returns null
.ResizeContent still fails
.ContentRectangle now returns some value.

Thanks
0
Boyan Boev
Telerik team
answered on 21 Jan 2014, 09:09 AM
Hi,

Yes you are right. The issue is that Chrome has no longer content window. I have logged a bug report on this. You can track for it here.

The workaround is to use ActiveBrowser.Window instead of ActiveBrowser.ContentWindow.

For resizing Chrome you can use ActiveBrowser.Window.Move(new System.Drawing.Rectangle(0, 0, 1024, 768), false);

Hope this helps.

Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Chunks
Top achievements
Rank 1
answered on 22 Jan 2014, 09:15 PM
Does the latest internal build Telerik.Testing.Framework.2013.2.1321 takes care of this problem? I understand your point that chrome no longer uses contentWindow so I am looking for an interim solution, thanks!
0
Boyan Boev
Telerik team
answered on 23 Jan 2014, 03:15 PM
Hello,

The fix will be included in the next release, expected next week.

Thank you for your patience.

Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Chunks
Top achievements
Rank 1
answered on 23 Jan 2014, 09:41 PM
And there was much rejoicing!! :-)
0
Boyan Boev
Telerik team
answered on 24 Jan 2014, 01:36 PM
Hi,

Glad to hear that.

If you need further assistance, please do not hesitate to contact us again.

Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Mohanan
Top achievements
Rank 1
answered on 31 Jan 2014, 06:36 PM
Is there a fix released to support Chrome 32 testing framework?  I see you mentioned in earlier post expecting a release this week?
0
Konstantin Petkov
Telerik team
answered on 02 Feb 2014, 08:17 PM
Hello Mohanan,

Yes, we published the official build labeled 2013.2.1327 just a few days ago. Please download it from your account and let us know of your feedback. Thank you!

Regards,
Konstantin Petkov
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
uteotw
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
uteotw
Top achievements
Rank 1
Chunks
Top achievements
Rank 1
Mohanan
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Share this question
or