Telerik Forums
Test Studio Forum
3 answers
112 views
Hello,
Each and every individual script is passed.those scripts run as in test list.But it is giving error is
Unable to pass test to test web server.
response status code does not indicate success:500(Internal server error).
failure during test dispatch ;Exception one or more occurred.
Boyan Boev
Telerik team
 answered on 18 Jul 2013
3 answers
87 views
Hi

I am new to the visual studio CodedUITesting. I created a few automated tests, 2 of the tests passed and 1 test failed with the error specified in the codeduitest zip file. I don't understand what the error means and thus do not know how to fix it.

This is what my code looks like. I think it fails on the bold text because it does not type the text into the cell. Can anyone please help me out here, thank you.

<TestMethod()>
    Public Sub NewRole()
Me.UIMap.StartupApp_LoginToMain()
        Me.UIMap.OpenRoleForm()
        Me.UIMap.NewRole()
    End Sub

 '''<summary>
        '''StartupApp_LoginToMain - Use 'StartupApp_LoginToMainParams' to pass parameters into this method.
        '''</summary>
        Public Sub StartupApp_LoginToMain()
            Dim uIOpenComboBox As WinComboBox = Me.UIRunWindow.UIItemWindow.UIOpenComboBox
            Dim uIOKButton As WinButton = Me.UIRunWindow.UIOKWindow.UIOKButton
            Dim uISettingsButton As WinButton = Me.UILoginWindow.UISettingsWindow.UISettingsButton
            Dim uITxtServerEdit As WinEdit = Me.UIConnecttoadatabaseWindow.UICELESTEZPCSQLEXPRESSWindow.UITxtServerEdit
            Dim uITxtDataEdit As WinEdit = Me.UIConnecttoadatabaseWindow.UIIT3AGWindow.UITxtDataEdit
            Dim uIOKButton1 As WinButton = Me.UIConnecttoadatabaseWindow.UIOKWindow.UIOKButton
            Dim uIOKButton2 As WinButton = Me.UIConnectionStateWindow.UIOKWindow.UIOKButton
            Dim uITxtNameEdit As WinEdit = Me.UILoginWindow.UITxtNameWindow.UITxtNameEdit
            Dim uITxtPassEdit As WinEdit = Me.UILoginWindow.UITxtPassWindow.UITxtPassEdit
            Dim uIOKButton3 As WinButton = Me.UILoginWindow.UIOKWindow.UIOKButton

            'Press keyboard shortcut keys 'Windows + r'
            Keyboard.SendKeys(Me.StartupApp_LoginToMainParams.SendKeys, ModifierKeys.Windows)

            'Select 'c:\tfs\IT3\DEV\IT3\IT3C\bin\Debug\IT3C.exe' in 'Open:' combo box
            uIOpenComboBox.EditableItem = Me.StartupApp_LoginToMainParams.UIOpenComboBoxEditableItem

            'Click 'OK' button
            Mouse.Click(uIOKButton, New Point(23, 19))

            'Click '&Settings' button
            Mouse.Click(uISettingsButton, New Point(59, 14))

            'Type 'CELESTEZ-PC\SQLEXPRESS' in 'txtServer' text box
            uITxtServerEdit.Text = Me.StartupApp_LoginToMainParams.UITxtServerEditText

            'Type '{Tab}' in 'txtServer' text box
            Keyboard.SendKeys(uITxtServerEdit, Me.StartupApp_LoginToMainParams.UITxtServerEditSendKeys, ModifierKeys.None)

            'Type 'IT3AG' in 'txtData' text box
            uITxtDataEdit.Text = Me.StartupApp_LoginToMainParams.UITxtDataEditText

            'Click '&OK' button
            Mouse.Click(uIOKButton1, New Point(100, 18))

            'Click 'OK' button
            Mouse.Click(uIOKButton2, New Point(27, 12))

            'Type 'SuperU' in 'txtName' text box
            uITxtNameEdit.Text = Me.StartupApp_LoginToMainParams.UITxtNameEditText

            'Type '{Tab}' in 'txtName' text box
            Keyboard.SendKeys(uITxtNameEdit, Me.StartupApp_LoginToMainParams.UITxtNameEditSendKeys, ModifierKeys.None)

            'Type '********' in 'txtPass' text box
            Keyboard.SendKeys(uITxtPassEdit, Me.StartupApp_LoginToMainParams.UITxtPassEditSendKeys, true)

            'Click '&OK' button
            Mouse.Click(uIOKButton3, New Point(54, 18))
 End Sub

'''<summary>
        '''OpenRoleForm
        '''</summary>
        Public Sub OpenRoleForm()
            Dim uIItemTabPage As UITestControl = Me.UIIT3sMainMenuWindow.UIRibMainWindow.UIItemTabPage
            Dim uIItemButton As RadButtonTestControl = Me.UIIT3sMainMenuWindow.UIRibMainWindow.UIItemButton

            'Click tab
            Mouse.Click(uIItemTabPage, New Point(63, 9))

            'Click button numbered 6 in 'ribMain' window
            Mouse.Click(uIItemButton, New Point(22, 22))
        End Sub

  <GeneratedCode("Coded UITest Builder", "11.0.60315.1")>  _
    Partial Public Class UIMap
        
        '''<summary>
        '''NewRole - Use 'NewRoleParams' to pass parameters into this method.
        '''</summary>
        Public Sub NewRole()
            Dim uIItemButton As RadButtonTestControl = Me.UIRolesWindow.UIRadRibbonBar1Window.UIItemButton
            Dim uIRadGridView1Table2 As RadGridViewTestControl = Me.UIRolesWindow.UIRadGridView1Window.UIRadGridView1Table2
            Dim uIRadGridView1Table3 As RadGridViewTestControl = Me.UIRolesWindow.UIRadGridView1Window.UIRadGridView1Table3
            Dim uIItemEdit As WinEdit = Me.UIRolesWindow.UIRadGridView1Table4.UIItemWindow.UIItemEdit
            Dim uIRadGridView1Table4 As RadGridViewTestControl = Me.UIRolesWindow.UIRadGridView1Window.UIRadGridView1Table4
            Dim uIItemEdit1 As WinEdit = Me.UIRolesWindow.UIRadGridView1Table5.UIItem0Window.UIItemEdit
            Dim uIRadGridView1Table5 As RadGridViewTestControl = Me.UIRolesWindow.UIRadGridView1Window.UIRadGridView1Table5
            Dim uIItemButton1 As RadButtonTestControl = Me.UIRolesWindow.UIRadRibbonBar1Window.UIItemButton1
            Dim uIYesButton As WinButton = Me.UISaveWindow.UIYesWindow.UIYesButton

            'Click button numbered 2 in 'RadRibbonBar1' window
            Mouse.Click(uIItemButton, New Point(9, 23))

            'Click 'RadGridView1' table
            Mouse.Click(uIRadGridView1Table2, New Point(65, 188))

            'Click 'RadGridView1' table
            Mouse.Click(uIRadGridView1Table3, New Point(68, 181))

            'Type 'Admin' in text box
            uIItemEdit.Text = Me.NewRoleParams.UIItemEditText


            'Click 'RadGridView1' table
            Mouse.Click(uIRadGridView1Table4, New Point(183, 178))

            'Type '0' in text box
            uIItemEdit1.Text = Me.NewRoleParams.UIItemEditText1

            'Click 'RadGridView1' table
            Mouse.Click(uIRadGridView1Table5, New Point(248, 308))

            'Click button numbered 5 in 'RadRibbonBar1' window
            Mouse.Click(uIItemButton1, New Point(8, 17))

            'Click '&Yes' button
            Mouse.Click(uIYesButton, New Point(43, 13))
        End Sub


Cody
Telerik team
 answered on 17 Jul 2013
2 answers
85 views
I have a scheduled test that I'm trying to kick off  in Test Studio. It schedules, is listed in orange as pending to kick off, and it just stays in that state. I finally have to double-click on it to see if it will change status. 

It reloads with a failed status (red), 0 tests passed out of total 1

When clicking on the failed test the results viewer displays the message: "TestList 'C:\TestResults\1 - 130181270439317869\TestLists\1.aiilist' was not found."  --Looking in the folder that's being created (1 - 130181270439317869), the only aiilist files are from older scheduled tests. A new one is not being produced.

NOTE: I uninstalled and reinstalled the tool. The old aiilist files appearing in the new folders are from test lists that don't exist anymore. Where is this data stored?


I'm running:
Windows 8
Test Studio 2012.2.1527.0

I'll provide additional info if needed.
Thanks,
-Jim

Boyan Boev
Telerik team
 answered on 17 Jul 2013
3 answers
91 views
HI,

I was wondering if anyone could help me with a couple of questions.

1, What sort of test results/evidence can i get from running tests in test studio, at the moment we are running test studio then ticking off the tests in another product as done, we would really like to use test studio for the complete testing phase but not sure if there was any way to produce test results/evidence that we could send our customers that would show what tests we have carried out/passed etc.

2. we are interested in the stand alone feature of test studio, but i can sseem to fin much documentation about it anywhere on how it works. e.g. is it a standalone.exe? could we send it to one of our customers when they install our software to check it works correctely in their environment?

Thanks

Jo
Cody
Telerik team
 answered on 16 Jul 2013
2 answers
57 views
I'm trying to find a way to assign TEST Scenario ID's to Data rows to drive different test scenarios.   Everything I read is that I'm limited to Rows X-Y or the entire table/sheet.

I would like the capability to define a TEST Id to a row to only use that row to data drive the test. 

I have several test templates created that build out my Test Scenario.   These access multiple excel worksheets with data, however I don't want Test Scenario X to run Test Scenario Y tests data.

Thanks,
Herb
Herb
Top achievements
Rank 1
 answered on 16 Jul 2013
5 answers
593 views
Hi All,

I m fresher for Telerik Test Studio, can anyone tell me the procedure to write code for display a Alert MessageBox in Script.

Regards,

Viknesvarane
Velin Koychev
Telerik team
 answered on 16 Jul 2013
1 answer
83 views
I noticed there is a free download of the Testing Framework, however it says incompatible software installed: Test Studio, Test Studio Express or Test Execution.

I was wondering if I should be allowed to install this Testing Framework as well with my Test Studio Purchase licensed?
Cody
Telerik team
 answered on 11 Jul 2013
1 answer
180 views
I want to ask if there is a way to send email automatically after finishing the "Test lists"  testing, containing the test result ...
I want a way without using the scheduling

Please Advice..

Thanks & Regards,
Samo
Velin Koychev
Telerik team
 answered on 11 Jul 2013
10 answers
151 views
When my Telerik test project build in build server I get the following error:

C:\Program Files (x86)\MSBuild\Telerik\WebUITestStudio\Telerik.WebUITestStudio.targets(9,5): error : Unable to determine the project namespace. Please make sure the settings file is available.

I have installed Telerik Test Studio on this server. Attached the solution.
Plamen
Telerik team
 answered on 10 Jul 2013
2 answers
39 views
1. Conducted a fast forward test and was able to the the tests on the results tab
2. I clicked on results tab then clicked on the test result.
http://i1251.photobucket.com/albums/hh552/iluvtoviolate/1_zps48dbea46.png

3. then i open the test result and i clicked on the failed test result
http://i1251.photobucket.com/albums/hh552/iluvtoviolate/2_zpsa6235d9f.png

4. the screenshot of the failed result details > image tab > is not showing but i saved a screenshot for this, but if i check the file path in which the test result was saved..the screenshot was created
http://i1251.photobucket.com/albums/hh552/iluvtoviolate/3_zps4fd097ca.png
Velin Koychev
Telerik team
 answered on 09 Jul 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?