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?
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
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… :)