Telerik Forums
Test Studio Forum
3 answers
103 views
Hello Support Team,

I am exploring this tool.  I want to know what testing framework do you suggest with Telerik test studio?

Testing Framework can be: Modular Framework, Data driven, Key word driven, Hybrid.

As of now what I am doing is: I create tests and mark it as common test For eg: Login. I parametrized User Name & Password from database value. So I can say that I have hybrid(Modular + Data Driven).

But I am seen over internet that People talks about key work driven framework (in QTP). Where we have all details stored in excel file( Mapping of Keyword with object repository). Then they prepare some driver scripts to fetch testcase from excel file and execute it.

My point is that why to have key work driven framework if Telerik test studio has common object repository, and facility to check/ uncheck steps in testcase?

I want to know what do you recommend?

If possible can you please provide me demo project with ideal/expected framework ? Sorry If I am asking too much.

Regards
Karan Patel
Jim
Top achievements
Rank 1
 answered on 01 Feb 2013
4 answers
248 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
51 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
123 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
61 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
77 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
72 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
79 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
77 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
51 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?