Telerik Forums
Test Studio Forum
1 answer
129 views
Hello Support,

I see in 2011.1.621.0 build if "Compilation Failed due to some coded steps, the error Log is Not Displayed (out of sight)". 

See attached screenshot.

We have more than fifty scripts and almost every script has one or two coded steps, So it is very difficult to figure it out which script has problem.

Thanks,
Madhu.
Konstantin Petkov
Telerik team
 answered on 22 Jun 2011
1 answer
88 views

Hello,

When i run the automation case with vs2010, it failed and  threw the exception as below, which sees that there need the silverlight plugin installed. But i am not sure which plugin i should install. Currently in my machine there have the silverlight3 SDK AND
silverlight4 SDK installed.

Overall Result: Fail
------------------------------------------------------------
'6/16/2011 2:27:13 PM' - Detected custom code in test. Locating test assembly: UIAutomation.dll.
'6/16/2011 2:27:13 PM' - Assembly Found: C:\Redstone\RedstoneDev\Clients\Test\UITests\UIAutomation\TestResults\v-ccheng_MSNBC-CCHENG01 2011-06-16 14_27_10\Out\UIAutomation.dll
'6/16/2011 2:27:13 PM' - Loading code class: 'UIAutomation.RedstoneTests.HelperSteps.Select_Env_Launch_Redstone'.
------------------------------------------------------------
'6/16/2011 2:27:14 PM' - 'Pass' : 1. [Select_Env_Launch_Redstone_CodedStep] : @"Navigate to : 'Test Redstone URL'
'6/16/2011 2:27:44 PM' - 'Fail' : 2. LeftClick on Item24Border
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Unable to find the Silverlight plugin on the following page:'res://ieframe.dll/http_404.htm#http://msnbc-kayu01.fareast.corp.microsoft.com/wbstart.htm?DisableConfirmPrompt=true' using the following expression:'[id 'Exact' silverlightControlHost] AND [tagname 'Exact' div][tagname 'Exact' object]'. Exception: System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForCondition(Func`3 condition, Boolean invertCondition, Object custom, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForExists(Int32 timeout, Boolean refreshElement)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetHost(IAutomationHost topBrowser, ElementDescriptor element, Int32 hostFindTimeout, Int32 appConnectTimeout, Boolean cachedSLAppOnly, String& error)
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Unable to find the Silverlight plugin on the following page:'res://ieframe.dll/http_404.htm#http://msnbc-kayu01.fareast.corp.microsoft.com/wbstart.htm?DisableConfirmPrompt=true' using the following expression:'[id 'Exact' silverlightControlHost] AND [tagname 'Exact' div][tagname 'Exact' object]'. Exception: System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForCondition(Func`3 condition, Boolean invertCondition, Object custom, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForExists(Int32 timeout, Boolean refreshElement)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetHost(IAutomationHost topBrowser, ElementDescriptor element, Int32 hostFindTimeout, Int32 appConnectTimeout, Boolean cachedSLAppOnly, String& error)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
------------------------------------------------------------
'6/16/2011 2:27:44 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'6/16/2011 2:27:44 PM' - Overall Result: Fail
'6/16/2011 2:27:44 PM' - Duration: [0 min: 30 sec: 689 msec]
------------------------------------------------------------

<<< Test-as-Step 'RedstoneTests\HelperSteps\Select_Env_Launch_Redstone.aii' log ends.

InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Unable to find the Silverlight plugin on the following page:'res://ieframe.dll/http_404.htm#http://msnbc-kayu01.fareast.corp.microsoft.com/wbstart.htm?DisableConfirmPrompt=true' using the following expression:'[id 'Exact' silverlightControlHost] AND [tagname 'Exact' div][tagname 'Exact' object]'. Exception: System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForCondition(Func`3 condition, Boolean invertCondition, Object custom, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForExists(Int32 timeout, Boolean refreshElement)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetHost(IAutomationHost topBrowser, ElementDescriptor element, Int32 hostFindTimeout, Int32 appConnectTimeout, Boolean cachedSLAppOnly, String& error)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
------------------------------------------------------------
'6/16/2011 2:27:44 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'6/16/2011 2:27:44 PM' - Overall Result: Fail
'6/16/2011 2:27:44 PM' - Duration: [0 min: 30 sec: 923 msec]
------------------------------------------------------------

<<< Test-as-Step 'Applets\CommonSteps\Open_test_story.aii' log ends.

InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Unable to find the Silverlight plugin on the following page:'res://ieframe.dll/http_404.htm#http://msnbc-kayu01.fareast.corp.microsoft.com/wbstart.htm?DisableConfirmPrompt=true' using the following expression:'[id 'Exact' silverlightControlHost] AND [tagname 'Exact' div][tagname 'Exact' object]'. Exception: System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForCondition(Func`3 condition, Boolean invertCondition, Object custom, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForExists(Int32 timeout, Boolean refreshElement)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetHost(IAutomationHost topBrowser, ElementDescriptor element, Int32 hostFindTimeout, Int32 appConnectTimeout, Boolean cachedSLAppOnly, String& error)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
------------------------------------------------------------
'6/16/2011 2:27:44 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'6/16/2011 2:27:44 PM' - Overall Result: Fail
'6/16/2011 2:27:44 PM' - Duration: [0 min: 31 sec: 735 msec]
------------------------------------------------------------
'6/16/2011 2:27:45 PM' - Test completed!

Best,
Cherry

Stoich
Telerik team
 answered on 22 Jun 2011
20 answers
199 views

 

Hi

I am new to this tool 'Automated QA Edition'. I have to perform a 'Click' operation over a RadMenuitem which is not visible by default. This item is a submenu. I am not able to record the event for left menu navigation from parent menu to submenu.

Can anyone please help.

Regards
Pritima Virmani
Konstantin Petkov
Telerik team
 answered on 22 Jun 2011
1 answer
153 views
Hello!
I have a simple case, but i've spent 1,5 hours trying to resolve it - no success!

The case is: login in gmail.com several times under different users.
After first login need to clear cookies, but the ActiveBrowser.Cookies.DeleteCookie - doesn't work in IE.

I found a lot of topics, but no one helps.
http://www.artoftest.com/community/forums/webaii--web-automation-infrastructure/forum-general-questions/cannot-delete-cookies.aspx
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/telerik-testing-framework/intermediate-topics/cookie-support.aspx
My browsers are: IE8.0, Chrome12, Firefox4.0, Safari 5.0.5
The code is:
Manager.LaunchNewBrowser();
           System.Net.CookieCollection gCookie1 = ActiveBrowser.Cookies.GetCookies("http://google.com");
           System.Net.CookieCollection gCookie2 = ActiveBrowser.Cookies.GetCookies("http://www.google.com");
           System.Net.CookieCollection gCookie3 = ActiveBrowser.Cookies.GetCookies("http://www.accounts.google.com");
            
           foreach (System.Net.Cookie cookie in appCookie)
           {
               ActiveBrowser.Cookies.DeleteCookie(cookie);
           }
 
           foreach (System.Net.Cookie cookie in gCookie1)
           {
               ActiveBrowser.Cookies.DeleteCookie(cookie);
           }
            
           foreach (System.Net.Cookie cookie in gCookie2)
           {
               ActiveBrowser.Cookies.DeleteCookie(cookie);
           }
 
           foreach (System.Net.Cookie cookie in gCookie3)
           {
               ActiveBrowser.Cookies.DeleteCookie(cookie);
           }
 
           ActiveBrowser.NavigateTo("https://www.google.com/accounts/ServiceLogin");

This work in chrome, safari,firefox, but not works in IE8.0
Cody
Telerik team
 answered on 22 Jun 2011
4 answers
154 views
Hi all,
  I have just this past few days downloaded the trial of Telerik Test Studio and am running into a bit of a problem.

I record a simple test (though this appears to happen in other situations) such as:

Navigate to http://www.htmlcodetutorial.com/linking/linking_famsupp_70.html

Click 'ThisLinkLink'
Connect to pop-up window

The test does not replay correctly in Firefox, erroing on the 'connect the pop-up window' step.
Safari exhibits the same behaviour.
IE and Chrome replay as expected.

I am running latest version of Telerik Test Studio (Evaluation), Win 7 Ultimate 32-bit, Firefox 3.6.16, Safari 5.0.5.

I can't see any reason for this to fail with the exception of a bad config.
I have followed the supplied configuration documentation twice now for each of the failing browsers to no avail.

Any thoughts?

Best regards,
  Stewart.
Anthony
Telerik team
 answered on 21 Jun 2011
4 answers
153 views
In telerik tool recorder not working then. Any other way to follow writing to  Descriptive programmer telerik  tool then
how follows step by step to ex plan  for me
Stoich
Telerik team
 answered on 21 Jun 2011
6 answers
168 views
Is there a way to make the tests created with "WebUI Test Studio QA edition" run automatically after the project build is completed.
We don't use team foundation server. We use Visual Studio 2008, CCNET (and SVN).
Cody
Telerik team
 answered on 20 Jun 2011
1 answer
101 views
How do I get the latest release of the software?  We have the 2010.3 version installed on one of our test servers and we would like to get the latest.  Is there a way to get it through the website, or is there a link from inside the UI?  Any help would be appreciated as I haven't been able to find any documentation on this subject yet.

Thanks.
Daniel Levy
Telerik team
 answered on 20 Jun 2011
1 answer
95 views
Hi,
I am totally new to Telerik and I have a problem now:
All the test cases get warning question marks in "Lists of tests" in vs2010, and I just can't find the way to run them.
the version I installed is 111.6.9.0. And if I need to update to certain version of the tool, please kind let me know how to update.
Please help out with that, many thanks.
Anthony
Telerik team
 answered on 20 Jun 2011
8 answers
426 views
Hello,

I need to select an item in RadComboBox. The items may have different values on each test running. So I need to select second item and get item's text to verify it later.

Example:
<div style="display: block; visibility: visible; top: 0px; left: 0px; width: 256px;"
    class="RadComboBoxDropDown RadComboBoxDropDown_Office2007 " id="ctrlGroupSelector_comboGroup_DropDown">
    <div style="width: 100%; overflow: auto; height: 102px;" class="rcbScroll rcbWidth">
        <ul style="list-style: none outside none; margin: 0pt; padding: 0pt;" class="rcbList">
            <li class="rcbItem "></li>
            <li class="rcbItem ">firstRow</li>
            <li class="rcbItem ">secondRow</li>
            <li class="rcbItem ">ThirdRow</li>
            <li class="rcbHovered ">Test</li></ul>
    </div>
</div>

Could you, please, give an example how to find and select second item?

Thanks,
Svetlana



Cody
Telerik team
 answered on 20 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?