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.
I having problems with no log files being produced from my test runs. I set up a test list today, went into Edit Settings, set my LogLocation and made sure CreateLogFile was checked. Ran my test. No log file. Tried changing the LogLocation to my C drive. Ran my test. No log file. Tried changing the location back to TestStudio's default. Ran my test. No log file. Are there other settings elsewhere that I need to change?
Thanks.
Hi,
We use TFS as repository for our project and store TFS test related files as well.
I am wondering whether we need to check in Pages.g.cs everytime we add a new object.
We are facing object not found issues intermittently. But team mate would have checked in latest objects to TFS.
I was of impression that pages.g.s gets created every time project is loaded.
Any inputs will be appreciated.
Thanks,
VVP