Telerik Forums
Testing Framework Forum
7 answers
1.0K+ views
Hello Telerik,

There is ScrollViewer WPF element in the application. I was able to identify it, but I couldn't find any methods how I can scroll the content inside the element. How can I do so?

Thank you.

Kind Regards,
Stanislav Hordiyenko
Elena
Telerik team
 answered on 13 Jul 2020
3 answers
262 views

Hi,

we have a system we want to test with Testing Framework. Of course it is a legacy system that has not very well formatted HTML markup and of course is too expensive to change - you probably all know this...

On this page we have a problem with one of the rows in the nested table does not have an enclosing end tag. This results in table not being found. But only, if the table is searched from a form on the page. If tables are searched from the root of the page, invalid table is found.

Why is that? I would expect to find all tables inside the form, regardless of whether I am searching within the form or the whole tree?

I have attached a VS project which reproduces the problem.

Elena
Telerik team
 answered on 31 Mar 2020
4 answers
484 views
Hi,

I try to use Testing Framework for WPF application.

But the problem is Login page in our application use HTML in WPF.

When I start WPF application from my code the login page is opening and I can find elements related only WPF elements .

But I can't find Web elements inside control WebBrowser, where located my fields Username and Pass and buttons.

System.NullReferenceException: 'Object reference not set to an instance of an object.'
ArtOfTest.WebAii.Core.Manager.ActiveBrowser.get returned null.



Please, could you tell me, is it possible to use testing framework with both functionalities - WPF + HTML?

If it is possible, can you provide an example of how I can find elements related WPF and HTML on the same Page.
Elena
Telerik team
 answered on 17 Mar 2020
8 answers
580 views
Hi,

My application is a WPF application.
I need to test an export of a file and save it on the computer.
How can I support the Save Dialog in order to save taht file?

Thanks
Dafna
Plamen Mitrev
Telerik team
 answered on 24 Feb 2020
3 answers
108 views

Hi, 

I am running the silverlight tests from server, where VS is not installed, It is not launching the application url on windows 10 machines. Locally it works fine. Could you please help me what could be the reasons for this. 

Darshana
Top achievements
Rank 1
 answered on 24 Feb 2020
5 answers
168 views

Hello!

After upgrading to Telerki testing framework 2018.3.1004.5 DownloadDialogsHandler doesn't handles save file dialog correctly in Internet Explorer 11 (Windows 10 x64).

Download file popup info appears, but browser's save dialog remains closed.

But when you open browser dialog manually (selecting "Save as" with mouse) DownloadDialogsHandler starts typing saving path.

Previous version of Telerki testing framework 2018.1.0418.2 works fine.

Browser was configured according recommendations https://docs.telerik.com/teststudio/getting-started/configure-your-browser/internet-explorer


Plamen Mitrev
Telerik team
 answered on 17 Feb 2020
3 answers
113 views

I have the webpage with kendoGrid with attached sourcecode

I can not able to identify the cell with the below code. 

 KendoGridDataCell element = driver.ActiveBrowser.Find.ByExpression<KendoGridDataCell>("class=~k-widget", "class=~k-grid", "GroupIndex=0", "|", "TagIndex=td:0", "Tagname=td");

Can anyone help on this.? Thanks

Plamen Mitrev
Telerik team
 answered on 29 Jan 2020
5 answers
156 views

Hi,

we need to create a system, that is a WebService. For every WebService call that we receive, we need to instantiate a new browser, make a GET request to some external system and read the data from returned HTML.

According to other threads on the forum, Testing Framework is not thread-safe.

But is it possible to use it in thread-safe manner? If yes, how it should be synchronized? I am worried that even if we implement some synchronization in our code, internals of the framework will anyway fail in multi-thread environment?

 

Regards,

Przemek

Plamen Mitrev
Telerik team
 answered on 27 Jan 2020
13 answers
661 views
When I LaunchNewBrowser I get a TimeoutException.  This is a first.  I downloaded the latest version and I get the same results.  I just upgraded to Window 7 so not sure if it's win 7 issue.  Here is my code:

 ArtOfTest.WebAii.Core.Settings ieSettings = new ArtOfTest.WebAii.Core.Settings(ArtOfTest.WebAii.Core.BrowserType.InternetExplorer, String.Format(@"{0}\log\WebAii.txt", Directory.GetCurrentDirectory())); 
                if (_MyMgr == null
                { 
                    _MyMgr = new ArtOfTest.WebAii.Core.Manager(ieSettings); 
                    _MyMgr.Start(); 
                } 
 
                _MyMgr.LaunchNewBrowser(); 
                //_MyMgr.ActiveBrowser.Closing += new EventHandler(ActiveBrowser_Closing); 
                _MyMgr.ActiveBrowser.NavigateTo(url); 

Never gets to NavigateTo method.  The IE does launch and ready to surf. 

Using VS 2010.

Any ideas?

Thanks

Rick
Darshana
Top achievements
Rank 1
 answered on 27 Jan 2020
3 answers
549 views

Hi

The Testing framework doesn't seem to be able to select an item in a KendoDropDownList that is not visible at runtime, though the item exists in the drop down when scrolling down to the bottom of the list.

 

Attached is a project containing two tests (Success and Failure tests), the "Success" test is selecting items at the top of that list which are visible and the "Failure" test is selecting items towards the bottom of the list that are not visible unless you scroll down.

 

Many thanks.

Elena
Telerik team
 answered on 12 Dec 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
pleaseDeleteMyAccount
Top achievements
Rank 2
Herman Muliady
Top achievements
Rank 1
Kevin
Top achievements
Rank 2
Iron
Iron
Andres
Top achievements
Rank 1
Iron
Bradley
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
pleaseDeleteMyAccount
Top achievements
Rank 2
Herman Muliady
Top achievements
Rank 1
Kevin
Top achievements
Rank 2
Iron
Iron
Andres
Top achievements
Rank 1
Iron
Bradley
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?