Telerik Forums
Test Studio Forum
3 answers
138 views
Hi,
I am testing all the urls for a web site, and after I click some link I need to add a step "Wait For Url" to test whether the link is right.
so I am wondering whether I can automaticall add a "Wait For Url" step for my every steps?if yes, how to do that?
Konstantin Petkov
Telerik team
 answered on 30 Sep 2010
1 answer
92 views
Hi,

When I am trying to customize all the steps in code with selecting all the steps, but sadly ,the steps are dis ordered after code creation.
another case is I select some steps and try to customize the steps in code ,it still become dis ordered. That's really a mess to me~

Any tricky? Any best practises? Any solutions? Thanks a lot if you can help me out.
Konstantin Petkov
Telerik team
 answered on 30 Sep 2010
1 answer
143 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
82 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
336 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
148 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
106 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
141 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
69 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?