Telerik Forums
Testing Framework Forum
6 answers
209 views
I am new to Test Framework so would appreciate a gentle introduction to working with TreeView control. I find it, do an initial click on it to expand it to it's "first level" of nodes but I then need to select the little "node arrow" next to the item in the TreeView to open up the "second level" of items in the TreeView. It's this "second click" on the little "arrow" icon next to the TreeViewItem in the TreeView control that I have to click... not sure how to do this. Any feedback is appreciated. I don't know if I have to get the *exact* x/y coordinates of that arrow next to the Item and do a User.Click(with x/y coordinates or whatever the API specifies) or if I can just set focus on a TreeViewItem and simulate the Click event on that TreeViewItem itself. Again, kinda lost so any help is appreciated.

By the way I have to write code to do this as I only have the Test Framework free edition available to me. 

Thanks!

Jess
Boyan Boev
Telerik team
 answered on 23 Dec 2013
3 answers
142 views

This is very urgent please!!

Please find attached my coding for messagebox. The first message is displayed correctly but the second message is not is dispayed. I don't want to close myManage. myManage.Displose(); How to make the send and third message appear. Even this code doesn't work

 

NativeWindow window = new NativeWindow();

window.AssignHandle(myManager.ActiveBrowser.Window.Handle);

 

 

MessageBox.Show(window, "This is a message!");

 

 

Velin Koychev
Telerik team
 answered on 20 Dec 2013
2 answers
93 views
How can i find kendolistviewitem from kendolistview?
Manjunath
Top achievements
Rank 1
 answered on 20 Dec 2013
3 answers
60 views
Hi,

Please list the new features and enhancements added to the December, 2013 release of Telerik Testing Framework. I didn't see any blog or thread covering this topic.

Thanks in advance,
Giri
Giri
Top achievements
Rank 1
 answered on 19 Dec 2013
3 answers
158 views
I have an HTML page where I have three fields to enter the following values​​:
Manufactures Suggested Value, Suggested Value and Value Sales Association, these three field are using "NumericTextBox".

With this script:
'KendoInput textboxVSAssociacao = ActiveBrowser.Find.ByExpression <KendoInput> ("class = k-k-NumericTextBox widget");
                 textboxVSAssociacao.TypeText ("8500");'

I can put the value in the first field but can not in demics, because the other values ​​will be reported in the first field. How do I proceed to inform the value in each field?
Boyan Boev
Telerik team
 answered on 16 Dec 2013
2 answers
82 views
I can test my Silverlight app fine using Test Studio, but when I try to write a custom NUnit test, I always get one type of error or another (Pipe Null State: False, NullReferenceException, etc.).

I was wondering if there is an example of a custom NUnit test that tests a Silverlight app, that I can run without Test Studio?

Thanks for your help.
Chery
Top achievements
Rank 1
 answered on 11 Dec 2013
3 answers
128 views
Hi,

After updating WPF controls (from 2013.2.0611 to 2013.3.1016) tooltips for RadRibbonButtons are incorrectly shown in UISpy (and recognized in White framework).
For 2013.2.0611, the HelpText property shows correct tooltip, i.e. the same as set in ToolTip property.
For version 2013.3.1016, HelpText shows "RadRibbonButton" ignoring currently set ToolTip value.

Tooltips are correctly displayed in application UI and the problem concerns only test automation.
Is it expected behavior or there is another way of getting actual tooltip values for RadRibbonButtons?

Regards,
Lukasz
Boyan Boev
Telerik team
 answered on 06 Dec 2013
5 answers
222 views
Hi,
I am using the mouseclick to click a button. However, the mouse cannot move to the top of the button. I also tried the Actions.click, mouse left click, mouse leftdoubleclick, none of them can work. But If I click the button manually, this button can work well and the dialog can be closed successfully. See my code and screenshot. Actually, this issue doesn't happen with mouse click for other buttons.

HtmlFindExpression htmlFindExpress = new HtmlFindExpression("id=popup_panel");
ActiveBrowser.WaitForElement(htmlFindExpress, 5000, false);
Find.ById<HtmlInputButton>("popup_ok").MouseClick();
Boyan Boev
Telerik team
 answered on 05 Dec 2013
3 answers
238 views
I recently updated to Visual Studio 2013 and IE11 and now my Automated UI tests are no longer working...

Issue: NavigateTo no longer appears to be working.  The browser launches but the page simply stays on "Blank".

Any ideas on how to fix?

Code:

// Initialize the settings
Settings mySettings = new Settings();
 
// Set the default browser
mySettings.Web.DefaultBrowser = BrowserType.InternetExplorer;
 
// 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();
myManager.ActiveBrowser.WaitUntilReady();
 
// Navigate to a certain web page
myManager.ActiveBrowser.NavigateTo("http://www.thewebsite.com");
 
//Never actually loads the website above. )c:

   

Velin Koychev
Telerik team
 answered on 04 Dec 2013
3 answers
127 views
Hello.

How can I get all invisible elements with a spicified type?
There are few hundreds <DataGridRow> elements under scrollbar. and only 9 is visible.
Silverlight Spy and WebAii return only 9(if I found with "....Find.AllByType<DataGridRow>().Count).

Velin Koychev
Telerik team
 answered on 29 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?