Let tests in UFT automaticly run per ALM - hp-uft

I have a test-script written in UFT. How can I let this test run in ALM every morning at the same time. Like every morning at 10 AM automated?

In ALM go to the Test Lab section in the Execution Flow tab, then right click a specific test and select Test Run Schedule.
Select the Time Dependency tab and fill it out.

Related

How can I re-run a unit test X-amount of times?

My problem is that my unit tests fails from time to time. Most of the times it is successful.
I would like to run it X amount of times or just repeat the test case until it fails.
What I can do is to just click on the test and rerun it once more even though it has been successful run, but that is time consuming.
I have had a look in Visual Studio in "Test Explorer" and Resharper "Unit Test Session", but I can find a smart way to rerun all test until it fails.
Is there another way?
Best Regards,
Hans
I see you mention you have ReSharper - in the Resharper unit test session window you can select the test you are interested in, then click the drop-down next to the Run button and there is a "Run Unit Tests Until Fail" option
Also, see here

Is there any way to add/customize in VSTF the Test Runs colums/information?

As a test engineer we always find the lack of info in the Test Runs tab too confusing and useless when it should be one of the most important tab in order to know which test runs are related to which tests builds, test plans, creators, etc
However I can´t find a way to add more columns or info like in the test plan tab. Is there any way to fix this?
No, you can’t add additional columns to test run in Test>Runs tab, you need to check those information in the summary of a test. (Double click a test run> Test results> double click a test)
There is a user voice that you can vote: Additional columns for test run in test > Runs tab

Unable to run all values from csv file while doing a performance test

Im using VS Web Performance Test Tool.
My Application has a login and few functionalities but doesnt have a logout . I one closes the browser and opens , it asks for login .
Now, i have 5 rows in excel , but only the first is run and it stops.
Please let me know if anyone knows how to make all rows run.
Thanks,
SK
By default, running a Web Performance Test (WPT) only does one execution of the test. A WPT can be called from a Visual Studio Load Test to run it many times by many virtual (i.e. simulated) users (VUs).
A data driven WPT can easily be run more than once by either of two methods.
After the test has been run once, click the "Edit run settings" on the Web Test results viewer. The modified run settings only apply to runs started by clicking the "Click here to run again" and are lost when the Web Test results viewer is closed. See here for more details.
The default can be changed in a .testsettings file. If no such file is already in the solution, then use the context (right click) menu of the solution in Solution Explorer and select Add => New item then follow the prompts to add a Test settings file. The Web test section of the file controls how WPTs are executed. See here for more details.

Telerik Test Studio - Run this test button is disabled

I have downloaded the latest test studio from Telerik website.
I have created a test based on the Sample tests (Load Tests) shipped with telerik. However, When I am trying to run the test I get this error "We are unable to run the tests. Please make sure that the controller that you are using have enough users allocated..." . Also the Run this test button is disabled. So I canNot run the test.
I tried to record a new test and still same result.
Does anyone knows what is this issue. I am following the guide on this video: http://www.youtube.com/watch?v=Ekx7hjtDSbM&feature=c4-overview&list=UUSTKUvLyGUg-TIuN5qW48ZA
Does anyone know what this error is?
thanks
You have to do the following to make it work:
Click on manage icon.
Then on Add Scheduling Service.
Type in the Computer Name/IP, test connection and click ok.
Drag the slider in the balance column to set the number of users and save settings.
Its very easy. First you need to configure your controller.
1.Click on 'Manage' button.
2.'Manage Users' window will opens.
3.Click on 'Add Scheduling Service' button.
4.'Add Scheduling Service' window will opens.
5.Enter your 'Computer Name/IP'.(How to find name of your computer :http://windows.microsoft.com/en-in/windows/find-computer-name#1TC=windows-7).
6.Click on 'Test Connection'.
7.If you enter correct 'Computer Name/IP' then success message will appear 'Great! We were able to connect to that Scheduling Service'
8.Click 'Ok'
9.Finally 'Save'.
You can see that 'Run Test' will get enable. :)

User cannot see TFS2010 test results in VS2010

I have a few lists of tests that I setup for a project that builds to a website. I have a bunch of unit tests and integration tests that runs before deploying the site. I have one user that clicks on the failed build in Build explorer but the Test results(that I can see-all test) that appears below that is empty.
If I click on it I can see a complete list of tests that passed as well as the test that failed. In the "Test Results" window at the bottom there is a drop down list to choose the(it looks like environment??) and when they choose "System#SERVERNAME SERVERTIME" it does not show the list that I can see if I am logged in. It seems to be a permission issue but where?
Thank you
Jack

Resources