Telerik Forums
Test Studio Forum
1 answer
138 views

Hi,
I am using QA version ,and after I customize all the recorded steps to code ,and try to execute ,however ,the compile failed error shows as below:

******smoke test.aii.cs: Line 1: (CS0246) The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)
******smoke test.aii.cs: Line 2: (CS0246) The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)
******smoke test.aii.cs: Line 1: (CS0246) The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)
 ******smoke test.aii.cs: Line 2: (CS0246) The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)

the wierd thing is that I didn't change any Telerik dll ,and file location ,and for QA version ,there is no way for me to update the references using , how to solve this problem?

 

Konstantin Petkov
Telerik team
 answered on 30 Sep 2010
2 answers
156 views

Hi

What I'm trying to do is verify if the checkbox is checked and if not - check it, else - simply run the webUI built-in checkbox verification.It keeps returning the syntax error in line right after THEN statement. What am I missing?

Here is how code looks like:

        Public Sub Change_Reason_CodedStep6()

            if Pages.Application.SilverlightApp.ChkIsActiveCheckbox.IsChecked = false then

                  (Pages.Application.SilverlightApp.ChkIsActiveCheckbox.User.Click(ArtOfTest.WebAii.Core.MouseClickType.LeftClick, 6, 9, ArtOfTest.Common.OffsetReference.TopLeftCorner, ArtOfTest.Common.ActionPointUnitType.Pixel, CType(0,System.Windows.Forms.Keys)))

            else 
                    Assert.AreEqual(true, Pages.Application.SilverlightApp.ChkIsActiveCheckbox.IsChecked, "Property did not satisfy constraint")

            End if

        End Sub

I’ll appreciate any advice

 

Thanks in advance

Helen

Helen
Top achievements
Rank 1
 answered on 28 Sep 2010
1 answer
81 views
Hello - How can I edit descriptions of the steps that are being recorded / already recorded?

I see an option to customize this in code - is there any third party tool or option for us to enable the 'edit' option in these steps? Some guidance as to how I can enable 'edit' of these steps would be appreciated.

Cody
Telerik team
 answered on 27 Sep 2010
7 answers
317 views
I have dowonloaded a trial version of QA test tool and I am having difficulties with recording in Sharepoint site. For example, I am trying to add a new site collection administrator to site collection. In order to that you need to type login name into SharePoint people editor control then you need to validate the user with validate button in the page then by clicking OK button completes the process. WebUI test tool seems like recording everything and when you run the test, it successfully completes but it does not insert the user into people editor control. Is there any workaround? How can I modify that step in order to insert user to people editor? Thanks.


Cody
Telerik team
 answered on 27 Sep 2010
5 answers
142 views
I am trying to do some validations on a simple asp:textbox. I am unable to even save a 'Build Verification' for exact match on the text box value. Why is it? Is asp:textbox not supported by telerik QA Studio?

Please find the attached gif file with the error message.

What am I doing wrong?
Konstantin Petkov
Telerik team
 answered on 27 Sep 2010
1 answer
101 views
Hi,

Does WebUI test studio support the possibility to locate and click images on the page?
Let's say I have a button with unique image but random application-generated name (say every time I launch application it changes within range of Button1 to Button45). I suppose I can locate that image on the page using image recognition tool in WebUI but I can't think of how to click it. Maybe you can suggest solution for this?

Thanks in advance
Helen
Cody
Telerik team
 answered on 24 Sep 2010
2 answers
133 views

First I wood like to thanks the developers team of telerik for their software!

I’m using it a little time and naturally meet with certain problem in it. Now I need help to solve my troubles.

My software (Silverlight 3, IE8) that I try to test have following problem:

For my example, I using some form from project (attached file). Besides other controls (CheckBox, TextBox etc.), Form contain internal object (listBox) that consist of set of other elements (CheckBox) which generates “on the fly” (dynamically), and not displays some seconds while form is opening; This listBox activating by checking checkBox control near.

Problem: Telerik WebUI Test Studio is register that control (highlight) in “Record” but not reproduce (at “Execute” period);

_____________________________

Error: Wait for condition has timed out

ArtOfTest.Common.Design.Exceptions.ExecutionException: Wait for condition has timed out ---> System.TimeoutException: Wait for condition has timed out

   в ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)

   в ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)

   в ArtOfTest.WebAii.Silverlight.VisualWait.ForExistsInternal(Int32 timeout, Boolean invertCondition)

   в ArtOfTest.WebAii.Silverlight.VisualWait.ForExists(Int32 timeout)

   в ArtOfTest.WebAii.Design.Execution.ExecutionUtils.SetVirtualizedContainerOffset(AutomationDescriptor descriptor, IAutomationHost host)

   в ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(Browser browser, AutomationDescriptor descriptor)

   в ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()

   --- Конец трассировки внутреннего стека исключений ---

_____________________________

Wait time is not significant, because before this control is activate - WebUI Test Studio work with other CheckBoxes and control fill up and turn ready.

All other elements of this form – work correctly.

P.S. Sorry for my English, I just learn it… :)

Drow
Top achievements
Rank 1
 answered on 23 Sep 2010
1 answer
66 views
Hello,

I have placed a rad window control on one of the pages. However, the Rad window is opening for only a fraction of second and closing automatically. 

Here's the code:

Master Page.aspx:
<telerik:RadWindowManager ID="Singleton" Skin="Outlook" Width="300" Height="300"
        runat="server" ShowContentDuringLoad="false" Modal="true" Behaviors="Default"
    AutoSize="true" Top="-200" VisibleTitlebar="true" VisibleStatusbar="false" ReloadOnShow="true">        
  </telerik:RadWindowManager>

Content Page.aspx:
<a href="#" runat="server" id="ancPageName">      
<asp:ImageButton ID="Image1" height="110" runat="server" width="130" />
</a>

Content Page.aspx.cs
Image1.ImageUrl = "~/imagelink.aspx";
ancPageName.Attributes.Add("onclick", "var wnd=window.radopen('
~/imagelink.aspx
', null);");

Would really appreciate if somebody could let me know as to what I am doing wrong.

Thanks,
Raj
          



Georgi Tunev
Telerik team
 answered on 22 Sep 2010
1 answer
137 views
Hi

I downloaded the above trial but am unable to activate it as it says my trial has expired, I did however trial the QA edition but there were so many problems with it that it didn't seem viable that I suggest my employer purchase it. With Dev edtion it integrates with VSTS 2008 so it maybe a viable alternative but until I can evaluate it there is no way I can recommend to my manager we purchase it.
Daniel Levy
Telerik team
 answered on 21 Sep 2010
1 answer
164 views
Hi,
I tried to create an automation testing project for a Silverlight Web site using 'Telerik - WebUI Test Studio' to have an idea how maintainable is the source code of the test cases, but I encountered a Silverlight connection error that does not allow recording the web page GUI.
[Steps performed]
-          create a new project in 'WebUI Test Studio'
-          add a new Test
-          enable Silverlight automation for this test
-          go to the 'Record' tab and press 'Record' button with 'Launch new recording Browser' option
-          in the new browser, navigate to the required page
-          wait for the Silverlight page to load
[Result]
-          After the web page is loaded by the automation tool, two error dialogs appear:

    1. Application Unhandled exception - Message: Object reference not set to an instance of an object at loading XAP file

    2. Unable to connect to Silverlight application.  Silverlight recording will not function.
even if the Web page seems to be loaded correctly. After this error, 'WebUITest Studio' does not record any actions

[Test environment] - set up for WebUI Test Studio:
-          IE 8 configured for automation (see all steps here:http://www.artoftest.com/support/webaii/topicsindex.aspx?topic=configureIE7)
-          Windows 7 x86 Professional OS with UAC disabled (logged in user is part of administrators group)

[Investigation]
i've tried all proposed solution from http://www.telerik.com/ClientsFiles/185726_silverlight-connection-draft.zip, but the Silverlight recording error is the same
-          Remark: if the page is reloaded in WebUI recording browser several times, IE crashes; debugging IE shows an error at ArtOftest.WebAii.Mime.dll

[Important remarks]
- web site is working correctly when performing manual testing (not using any GUI recording tool).
- 'WebUI Test Studio' recorder is working as expected on other Silverlight website

Are there any other solutions to perform Silverlight GUI recording from WebUI TestStudio? 

Best regards,
Flavia
Cody
Telerik team
 answered on 20 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?