Telerik Forums
Testing Framework Forum
3 answers
74 views

don't know where to set annotations on - my best guess was not good enough
giving me 
Error 2 The name 'GetSettings' does not exist in the current context 

                                Settings mySettings = new Settings(BrowserType.InternetExplorer, @"c:\log\");
                                // Create the manager object

                                Manager myManager = new Manager(mySettings);

                                Settings settings = GetSettings();
                                settings.AnnotateExecution = true;
                                // Start the manager

                                myManager.Start();

Cody
Telerik team
 answered on 09 Feb 2011
4 answers
371 views
Hi,

I am trying to run tests on XP 32 bit /Win7 32 bit with WebAii framework installed and NUnit installed but not visual studio. I have gone through all the setup for the different browser need for webaii to work. I got IE, Safari and FireFox to work. IE was not simple and it required me to GAC Microsoft.mshtml.dll - version 7.0.0330.

But I cannot get Chrome to work without visual studio installed. On our development machines we have visual studio and it works fine then. When running the test the browser open and tries to navigate to http://localhost:XXXX/WebUI?XXXXXX (X are random numbers which changes for every new browser launch) which should then start WebUI extension to start running by displaying a message "Preparing for automation". Hence it times out waiting for getting control of the browser. 

Any type of help in this matter will help.

Thanks
Kashy 
Kashyap
Top achievements
Rank 1
 answered on 07 Feb 2011
3 answers
166 views
Hi There, 
We are trying to WebUI Test Studio for testing our existing solution. 
I should say our solution  is slightly complex. It's web based. But almost all popup windows is opening in overlay div layers and each layers has iframe for subpage navigation. Allmost similar to RadWindows but our solution older then you :)
IE 8 highlighting tool is working on our normal pages that awesome. But It doesn't work on sub iframes which are opening into overlay div layers on root page.
What should I do for solving this situation ?
 
 
Cody
Telerik team
 answered on 03 Feb 2011
3 answers
128 views
Hi,
How to set Chinese Character as HtmlInputText.Text ?
I have a requirement to test whether the input fields accept Chinese characters.
Please let me know how to proceed?
Thanks and Regards,
KiranKN.

Stoich
Telerik team
 answered on 02 Feb 2011
4 answers
110 views
Hi Team,

I am using WebAii Test v1.1 to execute the scripts on Windows-7 IE8 browser.

Q1. Is WebAii v1.1. supported on Windows-7?
Q2. I found that the scripts were throwing exceptions when i tried to execute them in IE8 browser of Windows7(64 bit) for this I had to do some settings like,
- Turn the 'Protected Mode' off.
- Check the option "Disable toolbars and extensions when InPrivate Browsing starts" from Inprivate under Privac settings of Internet Options

After performing the above options the scripts atleast initiated to open the browser and navigate the URL. However now we observed that the scripts are not able to perform any "Click" action.

Can anyone please let us know the reason for these observations and failures.

Regards,
Devender
Cody
Telerik team
 answered on 01 Feb 2011
4 answers
150 views
Hi folks,

It's possible to register request/response listeners under HTTPS?
In my tests I'm successful under HTTP but not under HTTPS.

Thanks!
Fred
Frederico
Top achievements
Rank 1
 answered on 27 Jan 2011
7 answers
478 views
UIAutomation.WebAiiNUnitTest1.SampleWebAiiTest:
System.ApplicationException : Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it. Also make sure that WebAii Test Execution client is properly installed. Check Tools->Manage Add-ons.
  ----> System.NullReferenceException : Object reference not set to an instance of an object.

What is the Test Execution client and how do I install it?
Yogesh
Top achievements
Rank 1
 answered on 24 Jan 2011
2 answers
149 views
Please forgive me if you've seen this post elsewhere; I'm posting here as I've had little (read "no") response elsewhere.

I've been chatting with the author of XStudio and I convinced him that writing an interface for his product for WebUI might be a Good Thing.

Apparently, he's been able to write a launcher from information gleaned from some of the WebUI team's blogs. But he needs examples of the results file - .aiiresult I believe they're called - to finish the process off.

I wonder if anyone can supply a small sample set covering the range of likely outputs that I can pass on to him.

Thanks in anticipation.

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 24 Jan 2011
1 answer
149 views
hi, all
   I want to get an element which is not exist, e.g: app.FindName<Button>("btnAdd"), this button is not exist before I click "add user" link, is there any method can do this? just return "false" if this element can't be found, I always get exception: "System.TimeoutException: Wait for condition has timed out?" thanks very much!
Cody
Telerik team
 answered on 21 Jan 2011
5 answers
305 views
I am using WEBAii framework to write test script for Silverlight test automation in C#

Also I am using WebUI Test Studio QA to record n play test scenario steps. Using one step, Test Studio found Silverlight control and when I checked FindLogic in the property window for the element found I see following expression

[name 'Exact' TabsContainer] AND [XamlTag 'Exact' grid][XamlPath 'Exact' /radtabcontrol[automationid=Tabs]/grid[0]/raddockpanel[0]/layouttransformcontrol[name=HeaderDockedElement]/grid[name=RootVisual]/contentpresenter[name=ContentPresenter]/grid[0]/raddockpanel[0]/scrollviewer[automationid=ScrollViewerElement]/border[0]/grid[0]/scrollcontentpresenter[name=ScrollContentPresenter]/itemspresenter[0]/tabwrappanel[0]/radtabitem[0]]

Now my question is how to write C# statement to find the same element. I wrote C# statement as followed but element is not found. Where I am going wrong in writing following statment ?

FrameworkElement myElement = app.Find.ByExpression(new XamlFindExpression("Name=TabsContainer", "|", "XamlTag=ScrollViewer", "|", "XamlPath=/radtabcontrol[automationid=Tabs]/grid[0]/raddockpanel[0]/layouttransformcontrol[name=HeaderDockedElement]/grid[name=RootVisual]/contentpresenter[name=ContentPresenter]/grid[0]/raddockpanel[0]/scrollviewer[automationid=ScrollViewerElement]/border[0]/grid[0]/scrollcontentpresenter[name=ScrollContentPresenter]/itemspresenter[0]/tabwrappanel[0]/radtabitem[0]"));

Thank You and Best Regards !

/ Yogesh
Cody
Telerik team
 answered on 14 Jan 2011
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?