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,
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?
Hi All.
Me see demo item and test sample but not auto close other item click.
plz help me in code.
thank you.
Hi,
Wondering if there are any plans for supporting Angular2?
Cheers,
T.
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.
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.
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.
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
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