Telerik Forums
Testing Framework Forum
1 answer
150 views
Does WEB UI Testing framework support functional tests running on a hidden mode?
By hidden mode i mean , simulating the browser actions but not displaying them (and i do aware of load tests which are a sequence of http requests). and i do aware of the idea behind UI testing. from automation perspective i am looking for the fastest runtime solution which will still be simulating the true actions done by a user/browser.

Konstantin Petkov
Telerik team
 answered on 19 Apr 2010
1 answer
191 views
Does WEB UI Automation test framework support command line execution of a batch of functional tests?
Konstantin Petkov
Telerik team
 answered on 19 Apr 2010
1 answer
97 views
Hi

Is there a way to launch Firefox tests using separate Firefox profile (similar to -firefoxProfileTemplate switch in Selenium RC)?
Having to save my session and close Firefox before running Firefox-specific tests is quite annoying...

Thanks,
Missing User
 answered on 16 Apr 2010
2 answers
267 views
Hi Guys,

Added app.config (Same content shown on your site) to my solution (I'm using the Nunit template) and got the following error when running the test: 

VTMS.TestCase_Login.LoginBase:
System.Configuration.ConfigurationErrorsException : An error occurred creating the configuration section handler for WebAii.Settings: Could not load file or assembly 'ArtOfTest.WebAii, Version=2.0.2.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c' or one of its dependencies. The system cannot find the file specified. (C:\C# Projects\VTMS\VTMS\bin\Release\VTMS.dll.config line 4)
  ----> System.IO.FileNotFoundException : Could not load file or assembly 'ArtOfTest.WebAii, Version=2.0.2.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c' or one of its dependencies. The system cannot find the file specified.

Is there something I need to change in the config file itself or something is wrong with the section handler ? 
Ta, 
Seth. 

SD
Top achievements
Rank 1
 answered on 16 Apr 2010
4 answers
182 views
Hi guys.

I installed WebAii 2.0 and got an issue: my code for WebAii 1.1 which used Browser.Frames["frameName"] doesn't work anymore. It returns NULL and supposed to return Browser object.
This is very interesting because Browser.Frames.ContainsKey("frameName") returns TRUE.

Any ideas?

Thanks for your help!
Anton Litunenko
Top achievements
Rank 1
 answered on 15 Apr 2010
1 answer
129 views

Hi,

Could you please help me to resolve following problem: on the launch of IE8, i'm receiving a popup from browser saying Could Not Load Assembly (please see attachment for full copy).

This popup prevents my script to run.

Thanks in advance!

Olek

Missing User
 answered on 14 Apr 2010
1 answer
122 views
I found some posts from 2007 saying you don't support multithreading, but I wanted to get some newer information. Something I probably should have researched before writing all the code, but oh well.

I created a seperate thread, which receives a SilverlightApp parameter. It continually checks for changes on a UI element. Once this thread starts, I lose the ability to interact with the SilverlightApp in my main thread. Is there some way to have both threads sharing access to the SilverlightApp?
Missing User
 answered on 14 Apr 2010
3 answers
285 views
Hi,

Before merging with Telerik I was able to download WebAii as a separate free framework (dll) and use it in my projects. Is anything going to be changed? If yes, what is the impact to existing WebAii users?

Thank you in advance,
Dmitriy
Lin
Telerik team
 answered on 14 Apr 2010
1 answer
154 views
Hi,

I got one issue on using WebAii 2.0 for testing Silverlight.
Test case do: 
 * Lauch browser
 * Find the silverlight in page and the stackpanel
So I do this :
C #
//Locate the stack panel : ok 
StackPanel stack = app.FindName<StackPanel>("MyStackPanel"); 
  
//simulate a Right click on the stackPanel : ok (the RadContextMenu appears) 
stack.User.Click(MouseClickType.RightClick); 
 
RadContextMenu menu = app.Find.ByType<RadContextMenu>();
// And I caught an TimeOut Exception 

xaml : 

<telerik:RadContextMenu.ContextMenu> 
   <telerik:RadContextMenu name="" > 
    ... 
   </telerik:RadContextMenu> 
</telerik:RadContextMenu.ContextMenu> 

When I remove the line : <telerik:RadContextMenu.ContextMenu>, I didn't catch the timeout exception but I want to use that line...  
So Why this doesn't work ? I tried to give a name to the Radcontextmenu (and use app.Find.ByName<RadContextMenu>("menu")  instead of app.Find.ByType<RadContextMenu>()), to refresh the visual tree too, but I have the same problem.. 

Regards,

Thanks

Konstantin Petkov
Telerik team
 answered on 08 Apr 2010
2 answers
421 views
I downloaded the latest version of WebAii from the official site of ArtOfTest, and installed it for testing. it failed when i running following code:
            // Initialize the settings you want used.
            Settings mySettings = new Settings(BrowserType.InternetExplorer, @"d:\log\");

            // Create the manager object
            Manager myManager = new Manager(mySettings);

            // Start the manager
            myManager.Start();

            // Launch a new browser instance. [This will launch an IE instance given the setting above]
            myManager.LaunchNewBrowser(BrowserType.InternetExplorer, true);

            // Navigate to a certain web page
            myManager.ActiveBrowser.NavigateTo("http://www.google.com");

            // Perform your automation actions.
            Element mybtn = myManager.ActiveBrowser.Find.ByTagIndex("input", 3);
            myManager.ActiveBrowser.Actions.Click(mybtn);

            // Shut-down the manager and do all clean-up
            myManager.Dispose();
it thrown a 'System.TimeoutException' at method LaunchBrowser(). I googled web for the solution as follow:
1. Check your security policy regarding Named Pipes
2. Disable any Internet Explorer plug-ins

but all of this didn't work for me. it just open a blank IE, but never navigate to the target URL. 
My environment information as follow:
OS: Windows Vista Ultimate X86
IE: IE 8.0
WebAii Version: 2.0.9.0

Any ideas?

Regards,
Sevolution
Kangle Yu
Top achievements
Rank 1
 answered on 06 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?