Telerik Forums
Testing Framework Forum
8 answers
662 views
Hello Telerik,

Snoop application provides possibility to see the value of the 'Source' property of Image WPF element. Based on this value I can identify which exactly image is displayed based on the file name. When I try to get an access to .Source property of ...Wpf.Image element, I get the following exception:

Unable to cast object of type 'ArtOfTest.WebAii.Controls.Xaml.Wpf.BitmapFrameDecode' to type 'ArtOfTest.WebAii.Controls.Xaml.Wpf.ImageSource'.

I want to have possibility to read file name of the displayed image in WPF application.

Thank you.

Kind Regards,
Stanislav Hordiyenko
Ivaylo
Telerik team
 answered on 18 Aug 2015
5 answers
99 views

Hi,

As part of CI process, we are looking forward to execute Telerik test scripts through Teamcity9,

This thread is to know whether anyone tried this combination already. In that case i can get information without browsing.

 

Thanks,

VVP

Boyan Boev
Telerik team
 answered on 03 Aug 2015
6 answers
106 views

Hello everybody,

 

has anyone managed to find Ribbon elements using wpfApp.MainWindow.Find.ByName(....)?

I can find the ribbon element itself, bit sub elements like "RibbonApplicationMenuItem" or "RibbonButton" cannot be found by neither name nor type.

 

Any suggestion is welcome!

 

Greets

Andreas

Boyan Boev
Telerik team
 answered on 03 Aug 2015
3 answers
162 views

I had problems running my UI test in Visual Studio so I attempted to reinstall the Telerik testing framework. I did the following...

 Tried uninstall Telerik 2015.1 (Failed)

Tried repairing Telerik 2015.1 (Failed)

I manually removed the installed files for Telerik as described in several forums and then tried the above (Failed) 

Uninstalled Visual Studio then... 

Tried installing the new version of Telerik 2015.2 (Failed) attached is the screenshot and logs

 

So in short I simply cannot installed the testing testing framework. Any help would be most appreciated.

Boyan Boev
Telerik team
 answered on 30 Jul 2015
3 answers
184 views

I am trying to create a custom HTML control for the h3 tag and am having trouble.  I'm using the thread http://www.telerik.com/forums/custom-web-controls for a reference but am unable to get it to work.  I'm using the Find.ByAttributes<HtmlH3>("class=~someclass") but am not receiving only h3 elements.  Here is my code:

    public class HtmlH3 : HtmlControl
    {
        ArtOfTest.Common.IFindExpression _locatorExpression;

        public HtmlH3(Element element) : base(element)
        {
            _locatorExpression = new HtmlFindExpression("tagname=h3");
        }
        
        public HtmlH3() : base()
        {
            _locatorExpression = new HtmlFindExpression("tagname=h3");
        }
                public override ArtOfTest.Common.IFindExpression LocatorExpression
        {
            get { return _locatorExpression; }
        }
    }

 

Help would be greatly appreciated.  Thanks

Boyan Boev
Telerik team
 answered on 24 Jul 2015
1 answer
88 views
Working on .net app which would interact with silverlight based website.
After installation ​testing framework  the windows pop up doesnt work. popups just flash and go- Even normal right click on the screen flashes and goes away.
Is this a known issue or do i need to buy licensed version. I am on win 7 64 bit professional
Boyan Boev
Telerik team
 answered on 21 Jul 2015
8 answers
153 views
Hi,
I am running a script in IE9 where it selects a value from a dropdown list. Based on the value selected, the content of another dropdown list should change.  This code works fine in IE8, but not in IE9.   In IE9, when I select a value from first dropdown list, the content of the 2nd dropdownlist does not change.   I have my SelectByText (value, true).  Is this an issue with IE9?  

I have tried to use the below code to invoke the jquery manually:
DropDownList1.AsjQueryControl().InvokejQueryEvent(
ArtOfTest.WebAii.jQuery.
jQueryControl.jQueryControlEvents.change);

However I am getting failures on AsjQueryControl()  and jQueryControl although I am using ArtOfTest.WebAii.jQuery.

Error 78 'ArtOfTest.WebAii.Controls.HtmlControls.HtmlSelect' does not contain a definition for 'AsjQueryControl' and no extension method 'AsjQueryControl' accepting a first argument of type 'ArtOfTest.WebAii.Controls.HtmlControls.HtmlSelect' could be found (are you missing a using directive or an assembly reference?) 
Error 79 The type or namespace name 'jQueryControl' does not exist in the namespace 'ArtOfTest.WebAii.jQuery' (are you missing an assembly reference?)

Thanks in advance for your help.
Cody
Telerik team
 answered on 17 Jul 2015
6 answers
269 views
Hi,

how can i click on element found by xpath?

app.ActiveBrowser.NavigateTo("link");

app.ActiveBrowser.Find.ByXPath("//span[contains(text(),'foo')]"); //this element
Boyan Boev
Telerik team
 answered on 14 Jul 2015
1 answer
67 views

Hi,

I was wondering if it was possible to test the column headers in an excel sheet  or PDF as part of the "Handle 'Download' dialog" command?

A large part of our product is report based, so it would be invaluable for us to be able to use test studio to verify field headers.

Regards

Tom

Boyan Boev
Telerik team
 answered on 13 Jul 2015
12 answers
225 views

Hello,

 I am working on a project totally focused on managing cookies (getting and setting cookies from browsers). I am using the latest version of test framework "Telerik test studio automation 2013.2.1519.1" under firefox. All setups are OK.

So the problem consists in the domain of a cookie: I can't add a cookie with a domain ".example.com"  in the browser, thus all dervied urls (example.com, art.example.com,www.example.com, any.other.example.com) will read that cookie. 

The cookie domain cases that succeded are : "www.example.com", "example.com", "http://www.example.com"

But, whenever I add a cookie with "www.example.com", in the browser the cookie will be added "www.example.com" not ".example.com".

My main goal is to have all cookies loaded in the browser with ".example.com".

 

Thank you.

Ivaylo
Telerik team
 answered on 06 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?