Telerik Forums
Test Studio Forum
1 answer
119 views
Hi,

I've manually created an element that will get populated with a new ID number each time a certain action is created (A note item added into a java script table). The created element identifies the box for the first ID that populates on a given table. I plan to extract this variable after the Item creation and then compare it to another javascript table elsewhere to ensure it has populated correctly.

My issue is I'm not finding an option to extract from this Element.

Must this be added as a coded step? If so can I have some guidance on how to write it in the simplest terms possible.

THanks,

Adam
Boyan Boev
Telerik team
 answered on 04 Feb 2013
1 answer
59 views

Hi there
     is there any way to validate something against the base URL? I know that I could use a data driven value for the URL and then validate against that but it would be much easier if I could call the value of the baseURL in code and then use that for the validation.


Thanks

Carl

Stoich
Telerik team
 answered on 04 Feb 2013
12 answers
154 views
Hi All,

There is a field "ABC" which is an input field. When we save the value entered in this field it gets saved in listbox which is a telerik control.
Now I want to search the entered value in the listbox and select that value. How can I do that using WebUI test studio?
Tanu
Top achievements
Rank 1
 answered on 04 Feb 2013
5 answers
130 views
I recently upgraded to 2012.2.1022.0 for the feature to edit elements and find an element with the data bound strings from excel.  There is more than one row in my excel spreadsheet and the script loops per design. The script is suppose to click on a tag with the innertext string from excel.  However, it seems that on the first iteration, the element is permanently set to the innertext of  the first iteration and never updates to the name of the second iteration.  The script is essentially clicking on the wrong tag everytime.  Is this a limitation of Test Studio?

Thanks,

Jonathan


Jonathan
Top achievements
Rank 1
 answered on 01 Feb 2013
3 answers
111 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
284 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
63 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
149 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
89 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
95 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?