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

Why does changing WebUI builds seem to "break" the references linked to existing solutions?

11 Answers 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gary
Top achievements
Rank 1
Gary asked on 04 Nov 2010, 09:48 PM
Hey guys,

I just switched to your latest internal build and all my assemblies no longer seem to work.  I had to manually delete the existing references and re-add most of them, which seemed to fix the issue.  Why does this happen?  My coworker is using an older build of WebUI and when I try to run his code in my build, it doesn't work due to this same issue.

On a side note, I couldn't find the Telerik.WebAii.Controls.Html or Telerik.WebAii.Controls.Xaml references in the reference list.  However, when I go to create a new test in a different solution, it adds those 2 references just fine.

11 Answers, 1 is accepted

Sort by
0
Accepted
Cody
Telerik team
answered on 04 Nov 2010, 10:06 PM
Hello Gary,

The reason the references break when you upgrade is that the default on the reference properties is to look for a specific version. When you upgrade to a new version the old specific version of the assemblies no longer exist and you will get the broken references.

To overcome this annoyance you can set "Specific Version" to false as shown in the attached screenshot.

The dll's Telerik.WebAii.Controls.Html and Telerik.WebAii.Controls.Xaml are our translators for our RadControls. They provide advanced methods for accessing and driving them. These are normally kept in the folder C:\Program Files\Telerik\WebUI Test Studio 2010.2\Bin\Translators.

Sincerely yours,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Gary
Top achievements
Rank 1
answered on 04 Nov 2010, 10:21 PM
Thank you Cody, that fixed the issue.
0
Sebastian
Top achievements
Rank 1
answered on 21 Apr 2011, 12:21 AM
Can this happen in the QA version?
I'm having test problems with updates too.
0
Stoich
Telerik team
answered on 21 Apr 2011, 03:32 PM
Hi Sebastian,
      you're likely running into a slightly different issue in QA edition. In your Project: try manually adding Assembly references to the Telerik translators as seen in this video:
http://www.screencast.com/users/TelerikTesting/folders/Jing/media/312f9c69-20e8-4e01-9fb7-657af4ae4991

Let me know whether this resolved the issue.

Kind regards,
Stoich
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Sebastian
Top achievements
Rank 1
answered on 21 Apr 2011, 04:40 PM
I'm unable to tell if this helped.
I have see two problems thus far.
1.Pop-ups do not close anymore.
Checked all my IE8 settings too.
2.Many of the tests open the browser and slam it shut again without running any steps.
I looked at the tests and they start with, "Test as Step".
It is a login test attached to the front of most tests.
If I delete the, "Test as Step" ,Login and readd it I starts the test just fine.
Some of the newer tests I built on 1213 run okay.
Tests I didn't build that may have been built on an older version don't run at all.
They just slam the browser shut and end.

0
Stoich
Telerik team
answered on 26 Apr 2011, 03:00 PM
Hello Sebastian,
     you state:
1.Pop-ups do not close anymore.
Do you mean that "Handle Dialog" steps that used to work before - timeout now?

2.Many of the tests open the browser and slam it shut again without running any steps.
Please give me as much info as possible on this issue. There should an error message indicating what went wrong. Also, screenshots and a video (Jing is great for this) would be very helpful.

Hope to hear from you soon.

Best wishes,
Stoich
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Sebastian
Top achievements
Rank 1
answered on 26 Apr 2011, 03:37 PM
No, the execute button is clicked and the browser opens and shuts all in one second without executing any steps.
When I find a project that will execute if it has an external link.
open / close it will not close the link and the new window that popped up will never go away and the rest of the steps are trying to run in the new window and fail.
0
Sebastian
Top achievements
Rank 1
answered on 26 Apr 2011, 04:00 PM
I see the Web UI can't find the file for some reason.
When I execute a test the first step in the test is, "tests as step".
Web UI can't seem to find the test that is used as a step.
When I run the same test directly it finds it???
0
Sebastian
Top achievements
Rank 1
answered on 26 Apr 2011, 04:36 PM
Here are some eror logs-

When Web UI is clicking a link on a page I get this eror-

ArtOfTest.Common.Design.Exceptions.ExecutionException: ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at ArtOfTest.ShDocVw.WebBrowserClass.get_Document()
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_57af914e-4bf9-4179-a354-bf67bed1422a',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at ArtOfTest.ShDocVw.WebBrowserClass.get_Document()
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
 ---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException
   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.RefreshDomTree()
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(Browser browser, AutomationDescriptor descriptor)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
   --- End of inner exception stack trace ---


Connect to pop up windows error

ArtOfTest.Common.Design.Exceptions.ExecutionException: Exception occured waiting for the new browser to connect. ---> System.OperationCanceledException: Exception occured waiting for the new browser to connect. ---> System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.HtmlDialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
   --- End of inner exception stack trace ---


Handle confirm dialog error

ArtOfTest.Common.Design.Exceptions.ExecutionException: Timed out waiting '5000' msec. for dialog to be handled '1' ---> System.TimeoutException: Timed out waiting '5000' msec. for dialog to be handled '1'
   at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilHandled(Int32 handleCount, Int32 timeout, Boolean resetHandleCount)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
   --- End of inner exception stack trace ---


The pop up opens, the errors make it look like it didn't open.
I guess that is why they don't close.
0
Cody
Telerik team
answered on 26 Apr 2011, 05:16 PM
Hi Sebastian,

On your problem:

Web UI can't seem to find the test that is used as a step.
When I run the same test directly it finds it???

Please see this KB article. It will probably solve the problem for you.

Please open up new forum posts or support tickets (one ticket per issue please) for your other problems (clicking a link throws an error, dialog not being handled, etc.). It is too confusing on our part to try and address multiple issues in the same ticket at the same time. Then we'll be very happy to assist.

Best wishes,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Sebastian
Top achievements
Rank 1
answered on 26 Apr 2011, 05:24 PM
I addressed them together because they are related.
The move from the older 1213 to the newer version 1607.
Tags
General Discussions
Asked by
Gary
Top achievements
Rank 1
Answers by
Cody
Telerik team
Gary
Top achievements
Rank 1
Sebastian
Top achievements
Rank 1
Stoich
Telerik team
Share this question
or