Telerik Forums
Testing Framework Forum
1 answer
125 views
Hello,

Is there any possibility to get information about the image that is displayed in the Image WPF element? File name (i.g. like in web we can get a file name), or resource name? Anything to differentiate it? I have walked through all automation properties but couldn't find anything that can help me to identify what exactly is displayed.

Thank you in advance.

Kind Regards,
Stanislav Hordiyenko
Boyan Boev
Telerik team
 answered on 08 Feb 2013
2 answers
91 views
Hi,

In time it happens very often, that I get a NullRefernceException when I click an element with MouseClick. This doesn´t happen when I run any other command like Click, Focus, Refresh or something else.The element isn´t null anyway.
Is there any known issue?

Kind regards
Silvio
Silvio
Top achievements
Rank 1
 answered on 06 Feb 2013
5 answers
157 views
Hello all,

Has any one been experienced with the problem when the entire application start to work extremely slow? I can't make head or tail of this, but when I initialize manager, run the application and enter login and password, the application hangs for more than 2 minutes. If the same application start without Telerik test automation framework, it works very quick. For the current moment, I have to run it manually and enter login and password, and then attach to main window with Telerik test automation framework.

Does anyone know what the reason is of this strange behavior?

Thank you in advance.

Kind Regards,
Stanislav Hordiyenko
Ivaylo
Telerik team
 answered on 05 Feb 2013
2 answers
97 views
Hello Telerik,

There is an issue with a .ToolTipText property for Image class. This property doesn't return a tool tip text even though it exists.

I have found a workaround for this. Before get the value of this property, I hover the mouse over the image with .User.HoverOver() method and then get the value of the property. Is it a bug?

Thank you.

Kind Regards,
Stanislav Hordiyenko
Stanislav
Top achievements
Rank 1
 answered on 04 Feb 2013
5 answers
142 views
Hello,

Is it possible?
I try to use 
Actions.InvokeScript<HtmlSpan>(
                "$j('#rulesTree span.rf-trn-lbl')" +
                ".filter(function() " +
                "{return $j(this).text().trim() == 'er';})").Click();

But take exception:
            • Object reference not set to an instance of an object.
Boyan Boev
Telerik team
 answered on 04 Feb 2013
6 answers
202 views
Hello Telerik,

I have faced with another issue while working with RadGridView WPF control. There are two rows in the header. When I try to get an access to HeaderCell, it returns only columns from the second row, but there is a first row that is like a group of columns that contains sub-columns. It is not related to the group columns functionality at all. I don't know how to get access through the RadGridView control to the first row of the .HeaderRow. TextBlockContent returns text from both rows, but when I try to iterate through them, then only rows from the second row.

How can I handle this? Thank you.

Kind Regards,
Stanislav Hordiyenko.
Boyan Boev
Telerik team
 answered on 31 Jan 2013
1 answer
145 views
Browser: Google Chrome v.24

On the page
click on a link that opens in a new window.
Need to get the address of the page that opens in a new window.

Relying on the topic, click on the link using:

Find.ById <HtmlAnchor> ("id_number"). MouseClick ();

However, clicking the link does not occur.

To retrieve and compare URL:
WaitForNewBrowserConnect ("url", false, 1000);

Tell me, please, as well as right-click on the link and then get the URL?

P.S. Translated by Google Translate
Plamen
Telerik team
 answered on 30 Jan 2013
1 answer
128 views
Browser: IE9 (configured as instructions Telerik)

IDE: Visual Studio 2010

At the beginning of the test must be a login on site.
However, after running the test - page opens and closes almost immediately. 
The result - error "Wait for condition has timeout" 

After resetting the browser and set as instructions - Telerik can not find one of the items on the "id". Re-running the test - an error "Wait for condition has timeout"

Tell me, please, how to solve the problem?

P.S. Translated by Google Translate
Plamen
Telerik team
 answered on 30 Jan 2013
5 answers
165 views
Hello.
I have issue when handle Confirm Dialog.
When i want to cancel dialog, WebAii clicks twice on it.
After second click on cancel button tests want to continue to navigate and throw exception:
        • ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
          InError set by the client. Client Error:
          System.Runtime.InteropServices.COMException (0x800700AA): The requested resource is in use. (Exception from HRESULT: 0x800700AA)
          at ArtOfTest.ShDocVw.WebBrowserClass.Navigate2(Object& URL, Object& Flags, Object& TargetFrameName, Object& PostData, Object& Headers)
          at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
          at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
          BrowserCommand (Type:'Action',Info:'NotSet',Action:'NavigateTo',Target:'null',Data:'http://localhost:9090/webstudio-test/',ClientId:'Client_425a0a71-af92-4778-bb1d-6e20c2a3960c',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x800700AA): The requested resource is in use. (Exception from HRESULT: 0x800700AA)
          at ArtOfTest.ShDocVw.WebBrowserClass.Navigate2(Object& URL, Object& Flags, Object& TargetFrameName, Object& PostData, Object& Headers)
          at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
          at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
          InnerException: none.

    I have a simple code which work perfect in Firefox but fail in IE9.

var dialog = ConfirmDialog.CreateConfirmDialog(ActiveBrowser, DialogButton.OK);
            Manager.DialogMonitor.AddDialog(dialog);
            Manager.DialogMonitor.Start();
            Find.ByAttributes<HtmlAnchor>("title=Remove Table").Click();
            dialog.WaitUntilHandled();
            Manager.DialogMonitor.Stop();
Plamen
Telerik team
 answered on 25 Jan 2013
2 answers
105 views
Hi All,
Does someone know what is this pages.g?
It seems it's generated automatically and saved in the telerik filesystem project.
I have right now 13 scripts which can be executed as well without error. Script 1 to script 13.
After, the script 14 and 15 can't be executed. I can copy all the content of the script 1 into the script 14 and it still doesn't work.
Here is the log
E:\MyProject\Pages.g.vb: Line 300: (BC30203) Identifier expected.
E:\MyProject\Pages.g.vb: Line 324: (BC30203) Identifier expected.
E:\MyProject\Pages.g.vb: Line 356: (BC30203) Identifier expected.
E:\MyProject\Pages.g.vb: Line 4113: (BC30203) Identifier expected.
E:\MyProject\Pages.g.vb: Line 4474: (BC30203) Identifier expected.
E:\MyProject\Pages.g.vb: Line 4811: (BC30203) Identifier expected.
To me, the log are not enough to analyze the issue.
I've attached the pages.g
Is there a way to clean a project?
I would appreciate if someone could help me to solve this issue.
Dobry Zranchev
Telerik team
 answered on 25 Jan 2013
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?