Telerik Forums
Testing Framework Forum
4 answers
240 views
Hello guys:
                  I have an error when try launch an app using webaii and running test from Nunit. Basically after run test, the IE browser opens but the following error is showed in Nunit and the app does not load in the browser.

WebAii.Samples.TestBaseTests.The_base_loads_application:
SetUp : System.ApplicationException : Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it.
  ----> System.TypeInitializationException : The type initializer for 'ArtOfTest.Common.Win32.Connector' threw an exception.
  ----> System.NullReferenceException : Object reference not set to an instance of an object.

I've uninstalled and reinstalled Telerik and IE, and I've configured IEv9 following the steps described in the Telerik's page, but unfortunately does not work.
My current configuration included Windows 7 and IEv9.

Do you have any suggestions to do?
Many thanks.
Plamen
Telerik team
 answered on 22 Dec 2011
9 answers
286 views
Using the AspNet browser, I am able to grab both the UserName and Password TextBoxes. I insert my username and attempt to insert my password and click the Login button. This fails.
I dump the source and only see that the Username Textbox is populated.
The UserName and Password textbox are located within an ASP:Login control.
Any suggestions?
This is the first step before I test the rest of my application and need a way to log into the system.
Thank you.
Anthony
Telerik team
 answered on 21 Dec 2011
3 answers
127 views
Hello everyone!

I'm having some problems getting the text on a TextBox, it keeps saying it's empty when it's not. Basically, I'm filling in a contact form, saving it and then reopening the contact's details (which opens the same form) and trying to get the text from the TextBox's.

Since the object is originally is an ITextBox, I tried casting the object to TextBox, FrameworkElement and also not casting it at all and still no good... The "TextContent" property is empty and the "Text" doesn't exist (throws an exception).

Unfortunately, it's not possible to make the app available to the outside due to company's policy...

Best regards,
Ricardo
Anthony
Telerik team
 answered on 20 Dec 2011
1 answer
128 views
Hi,

I just started to use the testing framework, I downloaded the examples but I could not find an example that shows a project running only with the testing framework from a console aplication, class library or windows aplication. can u please provide me an example using a class library? I don't want to use Nunit, xUnit, MbUnit or VS Team Test.

Thanks in advance.

Kind Regards,

Stoich
Telerik team
 answered on 20 Dec 2011
1 answer
56 views
Hi,
I am doing research about how to test our silverlight app in a correct way, and one question what I would like know is how we should test composite control (for example MyInventoryView.xaml is a view wich  contain a list of itemView.xaml using a ListBox)
something like:
<ListBox.ItemTemplate>
                    <DataTemplate>
                        <xyz:ItemView  ...  />
                    </DataTemplate>
                </ListBox.ItemTemplate>


How I should get a list of these itemView objects?

The easy way to get a control when we know the name and the type is 
itemViewSilverlightApp.Find.ByName<DataGrid>("myName");

But what is the way to get when we are talking about specific usercontrol? (shall we add a reference from the project wich has the specific usercontrol??)

Best Regards,
Rolando.


Stoich
Telerik team
 answered on 16 Dec 2011
11 answers
198 views
Hi,

I am looking at using FindNodeByText to test that an item ISN'T in the list. According to this page , it should return null if the item isn't in the list. But what happens now is that it throws an exception if the item isn't in the list.

This is a major obstacle in my testing so would appreciate any help or workarounds.

Thanks,
Dren
Plamen
Telerik team
 answered on 15 Dec 2011
3 answers
150 views
Hi all,

We are trying to use the automation testing framework in code to enter data into a custom edit popup form (like in this demo: http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/popupeditform/defaultcs.aspx
) to modify a row of data.  The problem we are having is that if we simply look for the Update button on the edit form and send it the Click() event then the form simply closes and does not actually trigger the RadGrid_UpdateCommand event handler.  This means the data never gets updated.

We have looked in the samples provided with the Testing Framework and there is an example with a in-place edit form, but none with a popup edit form.  Is there something special that we need to do with a custom edit popup form to get the row to update when we are done with the form?

Any help appreciated,

Thanks
Pavel
Telerik team
 answered on 15 Dec 2011
3 answers
144 views
hi,

i want to use telerik test studio to capture the flash component, but i found it cannot capture any flash component.
so does test studio support flash? or do you have any work around method to use test studio to test flash component
Konstantin Petkov
Telerik team
 answered on 14 Dec 2011
1 answer
47 views
Hi,

Does webaii 1.1 full support IE9?
I wish to run webaii1.1 automation cases in IE 9 environment, but after i set configuration for IE9 (follow IE 8 configuration guideline),
i found i cannot run these cases, it cannot navigate to expected pages. and below is the error message:

so if i wish to run webaii 1.1 case in IE 9, is there any work around solution?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
SetUp : ArtOfTest.WebAii.Exceptions.ExecuteCommandException : ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_db84405b-5689-45cb-9054-1ceef82d7465',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to process. Timeout='60000', Command:'BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_db84405b-5689-45cb-9054-1ceef82d7465',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')'
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)


  ----> System.TimeoutException : Timed out waiting for command to process. Timeout='60000', Command:'BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_db84405b-5689-45cb-9054-1ceef82d7465',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')'
Anthony
Telerik team
 answered on 13 Dec 2011
5 answers
127 views

Hello,
still it is not resolved plez help out of this problem



Failure Information:
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using
Find logic
 (Html): [id 'Exact' overridelink] AND [tagname 'Exact' a]

Unable to locate element. Search failed!

--------------------------------------------------
'6/23/2010 7:55:32 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
--------------------------------------------------
'6/23/2010 7:55:33 AM' - Overall Result: Fail
--------------------------------------------------

regards
Dileep.s

Anthony
Telerik team
 answered on 09 Dec 2011
Narrow your results
Selected tags
Tags
+9 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?