Hi everyone,
I have a problem about binding a source to input a textbox. In my company's online tool, you can create statistical models with variety of way. I need to test every model. I listed all steps to create a model. Firstly, in order to create a model, you need to give a name. All steps working well. However, i can not create automated creating of models. I can not bind model name textbox with a datasource. I attached the images that show my problem. I need to add a source to TxtWizardShortName property a datasource to take names. I added also data source i created. Please help me. Thank you
Hello.
Is there any workaround how to avoid timeout issue on Navigate to step when executing a test list? This is quite annoying behaviour....
Overall Result: Fail
------------------------------------------------------------
'4.6.2015 1:30:20' - Executing test: 'Failed.Login(Chrome)', path: 'Basics\Failed.Login.tstest.'
'4.6.2015 1:30:20' - Using .Net Runtime version: '4.0.30319.18449' for test execution. Build version is '2015.1.319.0'.
'4.6.2015 1:30:20' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'4.6.2015 1:30:30' - Using 'Chrome' version '43.0.2357.81' as default browser.
'4.6.2015 1:30:30' - Using 'http://sw-fitnes/BAP/' as base url.
'4.6.2015 1:30:52' - 'Fail' : 1. Navigate to : '/'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'efde698c-d14a-4235-a062-003a0b1906af',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'efde698c-d14a-4235-a062-003a0b1906af',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
---> System.TimeoutException: Timed out waiting for command to be handled
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
at ArtOfTest.WebAii.Messaging.Process.BrowserHostsProxyRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
--- End of inner exception stack trace ---
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.IsReady()
at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri, Boolean useDecodedUrl)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri, Boolean useDecodedUrl)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url, Boolean useDecodedUrl)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.NavigateToActionDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'4.6.2015 1:30:52' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'4.6.2015 1:30:52' - Overall Result: Fail
'4.6.2015 1:30:52' - Duration: [0 min: 22 sec: 34 msec]
------------------------------------------------------------
'4.6.2015 1:31:03' - Test completed!
I am working on testing passing keystrokes into a TextBox within a RadNumericUpDown control that is part of my WPF application. I am trying to insert a digit into a number already in a TextBox. Consider the following situation...
I have just typed the value 1000 into the TextBox while recording. Test Studio records my left mouse click that focuses in on the TextBox in a single step and records the typing of 1000 in the proceeding step. Now, I move focus away from the TextBox I just entered 1000 into by hitting the tab key.
I would like to add the digit 1 into the 1000 already present in the TextBox such that the value ends up being 10(1)00 or 10100. So I focus my cursor at the position in the TextBox between 10 and 00, type 1, hit tab, and set up a verification step to make sure the value in the TextBox has turned into 10100. Visually at this point in the recording, I see 10100 in the TextBox.
I then quit recording my application so I could execute it. When I execute it, it fails on the verification step because when I enter the 1 into the TextBox, it replaces the entire TextBox value from 1000 to 1. So instead of having 10100 in the TextBox, it has 1.
Is it possible for me to insert a digit into a TextBox value without bombing on the rest of it?
*It should be noted that I am simulating both real keystrokes and mouse clicks (not sure if this matters).*
Thanks!
~ Max
Execution happened for the first time but not the second time , secondly please also describe how to populate test lists and also to analyze results as iam in the process of evaluating the tool for future purchase .
Some times while recording it gives many instances in the chrome browser and for internet explorer browser it is not working at all.
Hi guys,
we have a Test Studio project that we've connected to TFS online (Team Foundation Service). We can open and check in and check out - no problem. We need to be able to schedule an execution on a remote machine via CMD and we're using this approach: http://docs.telerik.com/teststudio/features/scheduling-test-runs/tts-command-line-client
However, this application doesn't accept parameters that specify whether we need to get the project from the local copy or to pull it from TFS. As a result - it always tries to get it from TFS. This doesn't work because there doesn't seem to be any way to supply credentials. We can see the following request being made:
{
"Id": "b29b354a-2921-463b-9508-c95a0869504e",
"TestList": "MyFirstTestList",
"Path": "MyFirstTestList.aiilist",
"PathType": 4,
"Credentials": null,
"MachinesToUse": [
"bgshs639"
],
"Schedule": {
"IsRecurring": false,
"TimeToRun": "2015-06-13T13:26:00Z",
"DayOfMonth": null,
"DayOrdinal": null,
"DaysOfWeekMask": 0,
"FirstDayOfWeek": 0,
"Frequency": 0,
"Interval": 0,
"MaxOccurrences": null,
"MonthOfYear": null,
"RecursUntil": null
},
"Notification": {
"EmailsList": null,
"Notify": 0,
"ShowGeneralInformation": true,
"ShowFailureInformation": true,
"AttachExcel": false,
"AttachWord": false,
"AttachAiiResult": false,
"TextBefore": "",
"TextBetween": "",
"TextAfter": "",
"Subject": "RunResult: NameOfRun; ResultOfRun; EndTime EndTimeOfRun; Pass/Total summary Machine: MachineName"
},
"ProjectInfo": {
"ProjectId": "aaa94839-38d3-45fe-a728-8b4a29c58aa3",
"ProjectSourceLocation": "C:\\Users\\stoilcho\\Documents\\Test Studio Projects\\MyProject",
"SchedulingServerUri": "http://192.168.11.135:8009/",
"SourceControlServerAddress": "https://stoil.visualstudio.com/defaultcollection",
"ProjectRemotePath": "$/MySolutions/MyProject",
"UseSourceControlVersion": true
},
"RootFolder": null,
"Distributed": false
}
Why is credentials sent as null?
So my questions are:
A) How to configure Telerik.TestStudio.CommandLineClient so that I can control when I want to pull the project from TFS? If there is no parameter for this - can we please log a feature request
B) How can I pass my TFS credentials to Telerik.TestStudio.CommandLineClient when I'm trying to pull the project from TFS? Once again - can we please log a feature request on this if it's currently not possible. Is there some workaround ?
Thanks guys!
Regards,
Stoil
Hi,
I am trying to run a test list in TTS using the below steps:
1. Logged into a remote machine and launched TTS
2. Created a schedule with 10 tests to run on Firefox browser and scheduled it for a particular time
3. When the schedule gets triggered, browser is launched for each test but its closing immediately.
4. At the end of the schedule (After completion of 10 tests), the below popup appears showing an error and I receive the schedule result report.5. When I run the tests individually one by one, all are passing.
6. When I do not schedule a test list but click on ‘Run List’, it works perfectly fine.
Kindly provide a solution for this ASAP.