Telerik Forums
Testing Framework Forum
2 answers
180 views
Hello Nelson,
I was wonder to see this exception because when i was running the scenerio it was well going after continuesly running the same
scenerio again and again the below exception is giving could you plez tell me why this exception is coming

System.ApplicationException: Unexpected error. SyncWaitResult was null for this wait
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForCondition(Func`3 condition, Boolean invertCondition, Object custom, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForExists(Int32 timeout, Boolean refreshElement)
   at ArtOfTest.WebAii.Synchronization.Wait.ForExists(Int32 timeout)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get(HtmlFindExpression expr, Boolean waitOnElement, Int32 timeout)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get(HtmlFindExpression expr)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get[TControl](HtmlFindExpression expr)
   at ArtOfTest.WebAii.TestTemplates.HtmlElementContainer.Get[TControl](String[] clauses)
   at ontariotest1365.Pages.OntSysSilverlightPage.get_SilverlightApp() in C:\Documents and Settings\dileep.s\My Documents\Visual Studio 2008\Projects\ontariotest1365\Project.cs:line 174
   at ontariotest1365.ontairotest133.ontairotest133_CodedStep12() in C:\Documents and Settings\dileep.s\My Documents\Visual Studio 2008\Projects\ontariotest1365\ontairotest133.aii.cs:line 194


regards
Dileep.s
Missing User
 answered on 06 Jul 2010
3 answers
139 views
First of all, is the free edition of WebAii acquired form ArtOfTest before the acquisition still supported?  I downloaded it about a year ago because it was free, and now I can't find any reference to it on the site, and the ArtOfTest.com site is basically defunct.

I've used that edition of the WebAii framework quite a bit, so I know it basically works.  So the problem I'm having now is completely baffling to me.

I'm trying to test navigation in an existing site, and going through a sequence of pages.  I get to a page that has (among other things) two buttons.  One is a "back" button that is an input element of type button with an onclick handler that calls a javascript function that just calls history.back().  The other is a submit button.

WebAii has no problem finding the submit button.  But when I tell it to click it, it is, to all appearances, clicking the back button.

Here's the relevant HTML from the site:

<div align="right"
    <table border="0" width="200" cellpadding="8" style="border-collapse: collapse" bordercolor="#E0DFE3"
        <tr> 
            <td> 
                <input type="button" value="<- Back" name="B2" onclick="cancelChange()" > 
            </td> 
            <td> 
                <input type="submit" value="Maint Details ->" name="lnkSubmit"
            </td> 
        </tr> 
    </table> 
</div> 
 

And here's the test code:
            HtmlInputSubmit maintDetailsButton = Find.ByAttributes<HtmlInputSubmit>("value=Maint Details ->"); 
            maintDetailsButton.Click(); 
 
            Assert.IsTrue(ActiveBrowser.Url.Contains(expectedPage), "URL {0} does not contain expected page {1}", ActiveBrowser.Url, expectedPage); 
 

The sequence of operations is working just fine when I click it manually, so I can see no evidence that it's the site's problem.  I've seen abundant evidence that it is, in fact, clicking the "Back" button and not the "Maint Details" button. (Fiddler shows no request issued when the click request is sent - consistent with executing history.back(), since the browser simply redisplays from it's cache.  When I click, it does, in fact, go to the previous page.  And finally, if I remove the "onclick" attribute from the back button, so that clicking on the button does nothing, then when execute the test code, the site does nothing - simply stays on the current page.)

I am completely baffled.  Can anyone give me a hint? 
Dave Hanna
Top achievements
Rank 1
 answered on 02 Jul 2010
3 answers
218 views
HI,

We have recently  purchased WebUI Test Studio Developer Edition and installed it on a machine which does not have internet connection. We are trying to activate it manually, but everytime we added a new WebAii test to our test project, it just asks for the activation code and not prompt  for the activation request wizard as specified on this link

http://www.telerik.com/support/kb/web-ui-test-studio/installer/installing-webui-test-studio-or-test-execution-software-on-a-machine-without-an-internet-connection.aspx

How do we manually activate our WebUI Test Studio?


Thanks,
Andrea

Konstantin Petkov
Telerik team
 answered on 02 Jul 2010
1 answer
68 views
Hello Nelson,
iam sending the attached file plez check it.
when iam inserting any values it is not identiying the values
plez check it

regareds
Ankamma
Missing User
 answered on 01 Jul 2010
1 answer
98 views
Hi Guys,

Usually I'm attempt to run hundreds of tests in one go using Nunit. 
Recently I had FF crashing  (Refer to the attached screenshots).  Clicking 'restart browser' made all good and test run 
continued without further interpretations though that's not exactly what one may call an unattended test run...
I was wondering if any of you experienced the same...

In addition, are there any news regarding the use of recycleBrowser while running Nunit tests?
If  recycleBrowser="false" the browser opens and shuts FF hundreds of times which may have caused the above crash.... 

ta, 
SD.

Missing User
 answered on 01 Jul 2010
2 answers
193 views
Dear all,

I am sreenath working for ICS bangalore, so far our company deals with QTP and Test complete only, recently we got a chance to automate the silverlight application with AJAX pop up.
We have put some effort with research and found the WebAii framework to automate the silverlight application.

Could any one please suggest us how to install the WebAii framework and what are all the constrains we cross over to access the tool without any issues.

Please let us know the details ASAP.

Thanks & Regards,
Sreenath
9916994123
(mba.sree@gmail.com)
Daniel Levy
Telerik team
 answered on 01 Jul 2010
10 answers
294 views
Hi,

What are the changes in the WebAii Testing Framework 2010.1 412 compared to the last ArtOfTest version? The What's New in this version page is empty.

Thanks,
Claudio
Cody
Telerik team
 answered on 01 Jul 2010
11 answers
216 views
I am having a rather frustrating issue in that I am able to identify objects within my web page, and do actions on them (eg. .Click() or setting text value for an HtmInputText element), but am completely unable to do any mouse actions on them (eg, .ScrollToVisible(), .MouseHover(), .MouseClick()). The mouse pointer does not move at all.

I am running my tests on a W7 box with VS2008 using IE8.

Any suggestions would be appreciated.

Greg
Cody
Telerik team
 answered on 30 Jun 2010
3 answers
119 views
Hi Nelson (Thought I'd address you as you're familiar with the issue...;-))

As you recall, I'm calling helper methods from another Class the resides in another file from my [Test] and that's working well. 
The thing is, I don't want to create a large number of objects each for each test as I'm doing now (See below)...
Placing the new object statements under the class (Meaning outside the  [Test])  does not work either...Any ideas ? 

  [Test] 
            public void test_01() 
            { 
                Users Users = new Users(Manager); 
                Navigate Navigate = new Navigate(Manager); 
                Generic Generic = new Generic(Manager); 
                Register_App Register_App = new Register_App(Manager); 
                //-------------- 
                Navigate.Navigate_Basic_LogIn("tester38"); 
            } 

Ta, 
SD. 
Missing User
 answered on 29 Jun 2010
0 answers
179 views
After every test I run with WebAii as soon as I close the browser or clean up the test I get the following exception :

---- UNHANDLED EXCEPTION ----
Thread Name: RemotedAsyncCommandListener
System.Threading.ThreadAbortException: Thread was being aborted.
   at ArtOfTest.WebAii.Messaging.Process.BrowserRemoted.AsyncListener()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()


I get this even though the test itself has passed.

I would like to hide this exception or at least not display in the console.writeline as it suggests the test has failed when it has not.

I have tried playing with various settings including lots of configurations like Initialize(settings, new TestContextWriteLine(WriteLine));

I have also tried catching the ThreadAbortException but it seems this is already being caught inside the WebAii internals and then the above log gets written each time.
Alex
Top achievements
Rank 1
 asked on 29 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
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?