Telerik Forums
Test Studio Forum
4 answers
279 views
I have a test case in which i am connecting the popup from modal popup i.e: I have clicked on a button that opened a modal popup and then clicked another button on modal popup that button closing the modal popup and opening the new window.

So now connecting to the new windows is failing.

Log for the failure is:

'25-01-2013 10:33:09' - 'NotRun' : 7. Click 'TransparentSpacerGifImage'
'25-01-2013 10:33:19' - 'Pass' : 8. Wait for '10000' msec.
'25-01-2013 10:33:25' - 'Pass' : 9. [Contract_Test_CodedStep] : Connect to modal pop-up window : Contract -- Webpage Dialog, ConnectToPopup=True
'25-01-2013 10:33:41' - 'Pass' : 10. Click 'Test1Test1LabelTag'
'25-01-2013 10:33:41' - 'NotRun' : 11. Click 'ButBeginButtonTag'
'25-01-2013 10:33:55' - 'Pass' : 12. [Contract_Test_CodedStep5] : Click 'ButBeginButtonTag'
'25-01-2013 10:33:55' - 'NotRun' : 13. Close modal pop-up window : Contract Template -- Webpage Dialog
'25-01-2013 10:34:05' - 'Pass' : 14. [Contract_Test_CodedStep6] : Wait for '3000' msec.
'25-01-2013 10:34:28' - 'Fail' : 15. Connect to pop-up window : 'http://mytestapp/Con/main.aspx'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'660803f7-a19b-4012-b54f-f6514396e54c',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)

InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'660803f7-a19b-4012-b54f-f6514396e54c',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
 ---> System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   --- End of inner exception stack trace ---
   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.Design.IntrinsicTranslators.Descriptors.HtmlDialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

This is working fine with IE it is able to connect to the new window after clicking on button in modal popup. But it was failing FF and Chrome. Can you please guide me what can be done to make the test case work in all browsers?
Ivaylo
Telerik team
 answered on 01 Feb 2013
1 answer
62 views
Hi Team,

I just wanted to check if we can perform functional testing of DLL/Class Library using Test Studio, if you have an option can you please send me the manual to do the same.

Mobile Application:
Also i need to know if we can create an virtual mobile application to test the functionality of the mobile services, if yes please can you provide me the manual for the same.

Thanks,
Bhaskar V
Cody
Telerik team
 answered on 31 Jan 2013
3 answers
145 views
Why is it that when I create a test list and run the list it runs so much slower than when I run the test within the list individually?  I have not edited any of the settings so it is running on the default test list setting but it takes anywhere from 3-7 seconds to verify an element on the page.  Is there any way to speed up Test Lists so they run the same speed as they do when run individually? 
Sean
Top achievements
Rank 2
 answered on 31 Jan 2013
3 answers
87 views
I am using SL5 and Test Studio.  I Built a small SL app with some labels and a RadMaskedTextBox.  (See xaml below.)
<Grid x:Name="LayoutRoot" HorizontalAlignment="Center" Height="115" Width="185">
        <StackPanel Orientation="Vertical">
            <Border Style="{StaticResource GridCellDataStyle}">
                <sdk:Label Name="FirstName" Content="John" HorizontalAlignment="Stretch" FontSize="15" />
            </Border>
            <Border Style="{StaticResource GridCellDataStyle}">
                <sdk:Label Name="LastName" Content="Doe" HorizontalAlignment="Stretch" FontSize="15" />
            </Border>
            <Border Style="{StaticResource GridCellDataStyle}">
                <sdk:Label Content="{Binding Path=UserName}" HorizontalAlignment="Stretch" FontSize="15" />
            </Border>
            <Border Grid.Row="1" Grid.Column="2" Style="{StaticResource GridCellDataStyle}">
                                <telerik:RadMaskedTextBox MaskType="None" Width="140" Value="{Binding CurrentQuantity, Mode=TwoWay}" IsReadOnly="True" IsEnabled="False" MaxLength="50"  />
            </Border>
        </StackPanel>
    </Grid>

I created a test in Test Studio and began recording.  However, I cannot build a verification on the RadMaskedTextBox.  The verification selector will highlight in red my other controls.  But not the RadMaskedTextBox.  See attached picture.  How will I verify data in the RadMaskedTextBox control?
Top Gun
Top achievements
Rank 1
 answered on 31 Jan 2013
1 answer
94 views
Hi Telerik,

We have created some test cases in test studio. And we are using "Wait for" steps added by "Execution Delay" menu to wait user login or some elements is ready to input. Because during the record/replay, Busy Indicator(Silverlight) is working and these elements can not be operated.

We used this simple way as a resolution but we met following issue caused failed,

1. server performance which will be affected by other programs may enlarge the loading time for the web page elements.
2. switch to different environment/server may also enlarge the waiting time

To avoid the tests failed by the Wait for not enough, do you have any suggestion or better solution?

I searched the forums and try to use some "Wait for Exists" or "Wait for visibility visible" to handle this issue. but the test still failed.

Thanks for your reading and hope there will be a easy way to solve this.

Plamen
Telerik team
 answered on 31 Jan 2013
1 answer
86 views
In my OOB Silverlight application, I am extracting a value for current inventory $(QOH) and adding one to the value.  How do I verify the new value of $(QOH) + 1 within a coded step?
Mario
Telerik team
 answered on 30 Jan 2013
6 answers
105 views
Hello,

We have several projects stored in TFS for a couple weeks now.  This morning, I opened the project and one of the files was not the latest version.  Is Test Studio supposed to Get Latest when opening the project or is that something that we should manually perform when we open the project?

Thanks!
Alan
Top achievements
Rank 2
 answered on 30 Jan 2013
2 answers
100 views
Hi there
       Apologies if this has been asked before but how do you count the number of options in a HTMLselect element?

Thanks

Carl
Carl
Top achievements
Rank 1
 answered on 30 Jan 2013
3 answers
62 views

Hi All , 
I need to know that can we do Parameterization  in Test studio for IOS.
 

for example : 
cant we parameterized log in .

can we log as 3 different user with in same test run ?

Appreciate your help on this

Thanks and Regards

DIL P 


Ivaylo
Telerik team
 answered on 30 Jan 2013
10 answers
277 views
I am getting the following error while trying to click on a link:

ArtOfTest.Common.Design.Exceptions.ExecutionException: ExecuteCommand failed!
InError set by the client. Client Error:
System.ArgumentNullException: Value cannot be null.
Parameter name: SetCurrentDocumentMarkup. The document object is null. Unable to get markup.
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_edc9b035-4116-44ce-9062-e322cd06eb14',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.ArgumentNullException: Value cannot be null.
Parameter name: SetCurrentDocumentMarkup. The document object is null. Unable to get markup.
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
   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 ---



This page that I am testing uses a table design where the "links" are simply the table cells that have been assigned the 'onlick' method that runs a javascript. Example:
<table border="0" cellpadding="0" cellspacing="0" align="center" style="width:85px; height:;" onclick="javascript:Click1('Admin.aspx?')">

In order to record this I have tried both clicking on the link and assigning "left click" from the blue bubble menu. While record it works but when playing back the recording I get the above error.
Stoich
Telerik team
 answered on 30 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?