Telerik Forums
Testing Framework Forum
20 answers
233 views

Hi Telerik, here's the scenario:

1. Click a button on the main window to open a new window called xWindow. WaitForWindow("xWindow Caption", 10000) works just fine and returns xWindow. Close xWindow by clicking a button on it plus checking: xWindow.Window.WaitForVisibility(false, 10000) and xWindow.Window.exists is false.

2. Click that button again to open xWindow the second time. WaitForWindow("xWindow Caption", 10000) fails and throws a TimeoutException. The funny thing is that the exception lists the current existing windows including "xWindow Caption".

Please have a look at my situation.

Thank you,

Ivaylo
Telerik team
 answered on 27 May 2016
3 answers
126 views

URL: https://classiccars-test.com/listings/find/all-years/ford/mustang
Using Firefox browser. This problem does not exist in Chrome.

I’m using “Highlight Element” and hovering over certain elements it appears Test Studio is “off by one” meaning it THINKS I’m hovering over the previous element.
In the first screenshot it thinks I’m on “(CC-85973)”
In the second screenshot I moved down and picked up “1966 Ford Mustang”.
The DOM in this part of the page follows.

See attachment for screenshots.

This seems wrong. Can you shed more light on it?

Boyan Boev
Telerik team
 answered on 19 May 2016
1 answer
66 views

 Hi All.

Me see demo item and test sample but not auto close other item click.

plz help me in code.

thank you.

Ivaylo
Telerik team
 answered on 13 May 2016
1 answer
120 views

Hi,

Wondering if there are any plans for supporting Angular2?

Cheers,
T.

Konstantin Petkov
Telerik team
 answered on 29 Apr 2016
1 answer
102 views

I have a control that looks like this and I could not test this using telerik testing framework. 

 <select id="xxx" multiple="multiple" kendo-multi-select="vm.xxx" style="width: 100%;"
                            k-data-source="vm.xxxDS"
                            k-data-text-field="::'Text'"
                            k-data-value-field="::'xxxID'"
                            k-highlight-first="::false"
                            k-ng-model="vm.xxxId"
                            k-on-change="vm.xxxChange(kendoEvent)"
                            k-value-primitive="::true"></select>

AFAIK there is no translator for Kendo UI multi select. Any example you have will be appreciated.

Boyan Boev
Telerik team
 answered on 13 Apr 2016
16 answers
176 views
Are there any methods available to assist with getting all rows of a kendo grid where virtual scrolling is enabled?
Boyan Boev
Telerik team
 answered on 11 Apr 2016
10 answers
235 views
We are currently trying to integrate the automated clicks tests we have developed in telerik with Hudson Continuous Integration server and are facing some issues.  In particular:

The approach that we have taken is to use the batch script to start the Telerik test scripts execution (ArtOfTest.Runner.exe) and then check the out through a custom C# console program that checks the output for execution status (Pass/Fail).


When we are executing the Telerik batch file without using Hudson the test script shows successful execution and simultaneously the C# code picks the same status. But when we are trying to execute the same through Hudson the test script executes but shows Fail status.


One thing that we did notice was that in the non-Hudson execution the Runner simulates the test script by opening the browser but in the Hudson environment the browser simulation is not executed by the Hudson environment as it is executing it as a background process. This might be a potential cause of the issue.


Thanks
Elena
Telerik team
 answered on 01 Apr 2016
1 answer
105 views

Hello everyone..

I am new and like to know about Telerik Testing Framework, next month we are going to start a new project so I like to use Telerik Testing Framework in that, can any one please tell me How to get start with Telerik Testing Framework.

 

Thanks.

Ivaylo
Telerik team
 answered on 24 Mar 2016
5 answers
632 views

We have a suite of approximately 60 automated tests that pass when ran individually. However, when attempting to run the entire suite, we will typically get 20 - 30 tests that pass, then a seemingly catastrophic exception occurs that causes all remaining tests to fail with the same exception. I searched the existing forum threads and did not see any other references to this error or type of behavior. 

Below is the output of one of these tests failures.

 

Test Name:  CreateBankAccounts
Test Outcome:   Failed
Result Message:
Test method Keefe.KeepTrak.Testing.UI.AcceptanceCriteria.AdministrationSetupForAccountsRulesAndAccountingEventsFeature.CreateBankAccounts threw exception:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80028019): Old format or invalid type library. (Exception from HRESULT: 0x80028019 (TYPE_E_UNSUPFORMAT))
   at mshtml.HTMLDocumentClass.IHTMLDocument2_get_frames()
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFramesInternal(IHTMLDocument2 topDocument, String parentID, Dictionary`2 frames)
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFrames(IHTMLDocument2 parentDocument)
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetTargetDocument(BrowserCommand& request, IHTMLDocument2 document)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'NavigateTo',Target:'null',Data:'http://wkcn3817y52.centric.com/Banking/Security/LogOff',ClientId:'Client_f95022b4-38ac-4e33-bad9-8d38e6aca6c9',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80028019): Old format or invalid type library. (Exception from HRESULT: 0x80028019 (TYPE_E_UNSUPFORMAT))
   at mshtml.HTMLDocumentClass.IHTMLDocument2_get_frames()
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFramesInternal(IHTMLDocument2 topDocument, String parentID, Dictionary`2 frames)
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFrames(IHTMLDocument2 parentDocument)
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetTargetDocument(BrowserCommand& request, IHTMLDocument2 document)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
 
TestCleanup method Keefe.KeepTrak.Testing.UI.AcceptanceCriteria.AdministrationSetupForAccountsRulesAndAccountingEventsFeature.ScenarioTearDown threw exception. ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80028019): Old format or invalid type library. (Exception from HRESULT: 0x80028019 (TYPE_E_UNSUPFORMAT))
   at mshtml.HTMLDocumentClass.IHTMLDocument2_get_frames()
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFramesInternal(IHTMLDocument2 topDocument, String parentID, Dictionary`2 frames)
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFrames(IHTMLDocument2 parentDocument)
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetTargetDocument(BrowserCommand& request, IHTMLDocument2 document)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'ElementRectangle',Action:'NotSet',Target:'ElementId (tagName: 'html',occurrenceIndex: '0')',Data:'',ClientId:'Client_f95022b4-38ac-4e33-bad9-8d38e6aca6c9',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80028019): Old format or invalid type library. (Exception from HRESULT: 0x80028019 (TYPE_E_UNSUPFORMAT))
   at mshtml.HTMLDocumentClass.IHTMLDocument2_get_frames()
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFramesInternal(IHTMLDocument2 topDocument, String parentID, Dictionary`2 frames)
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFrames(IHTMLDocument2 parentDocument)
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetTargetDocument(BrowserCommand& request, IHTMLDocument2 document)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
.
Result StandardOutput: 
-> warning: The previous ScenarioContext was not disposed.
Given I am logged in as active user 'Bob' with roles: [Administrators] and accounting event groups: [Financial Analysts]
-> error: ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80028019): Old format or invalid type library. (Exception from HRESULT: 0x80028019 (TYPE_E_UNSUPFORMAT))
   at mshtml.HTMLDocumentClass.IHTMLDocument2_get_frames()
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFramesInternal(IHTMLDocument2 topDocument, String parentID, Dictionary`2 frames)
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFrames(IHTMLDocument2 parentDocument)
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetTargetDocument(BrowserCommand& request, IHTMLDocument2 document)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'NavigateTo',Target:'null',Data:'http://wkcn3817y52.centric.com/Banking/Security/LogOff',ClientId:'Client_f95022b4-38ac-4e33-bad9-8d38e6aca6c9',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80028019): Old format or invalid type library. (Exception from HRESULT: 0x80028019 (TYPE_E_UNSUPFORMAT))
   at mshtml.HTMLDocumentClass.IHTMLDocument2_get_frames()
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFramesInternal(IHTMLDocument2 topDocument, String parentID, Dictionary`2 frames)
   at ArtOfTest.InternetExplorer.IEFramesCollection.BuildFrames(IHTMLDocument2 parentDocument)
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetTargetDocument(BrowserCommand& request, IHTMLDocument2 document)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
 
When I click the [Administration >> Bank Accounts] navigation menu item
-> skipped because of previous errors
Then I am taken to the [Bank Accounts] page
-> skipped because of previous errors
When I click the [Create] button
-> skipped because of previous errors
Then I am taken to the [Create Bank Account] page
-> skipped because of previous errors
When I enter the following into the [Create Bank Account] form:
  --- table step argument ---
  | Account Name     | Description                 | Bank Name    | Account Number | Routing Number | Address     | City    | State | Zip Code |
  | 'Bank Account 1' | Offender trust fund account | Bank Account | 11111111       | 222222222      | 123 Main St | Anytown | MO    | 63105    |
-> skipped because of previous errors
And I click the [Save] button
-> skipped because of previous errors
Then I am taken to the [Bank Accounts] page
-> skipped because of previous errors
And I see the following bank account:
  --- table step argument ---
  | Account Name     | Description                 | Bank Name    | Account Number | Routing Number | Address     | City    | State | Zip Code |
  | 'Bank Account 1' | Offender trust fund account | Bank Account | 11111111       | 222222222      | 123 Main St | Anytown | MO    | 63105    |
-> skipped because of previous errors

Boyan Boev
Telerik team
 answered on 21 Mar 2016
3 answers
74 views

I have problems with the "Testing_Framework_2015_3_1314_2_Free.exe" the process stuck at the beginning.

Could you provide an offline msi or where could I download it?

Thanks,
Roman 

Ivaylo
Telerik team
 answered on 16 Mar 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?