Why is the outcome of a manual test executed via MS test runner being put in 'In Progress' state? - test-runner

I am using TFS 2018 to run manual test cases (on chrome browser). When I run a manual test, the Microsoft Test runner opens in a popup window. I mark the result of each test step, mark the test case result, and then save and close it. The Microsoft Test runner window closes, however, the Outcome value displayed for the test I ran is set to In progress on the TFS web page. Why is that?
test outcome after save and close
When I go to the run summary, it also shows outcome of in progress and the running time will continue to advance indefinitely. if I click on the test results tab within the run, it is showing the outcomes selected in the test runner for the test and its steps. There doesn't appear to be a way to update the outcome of the run either.
run summary ss

Turns out the issue was with Chrome. Had to change the #allow-sync-xhr-in-page-dismissal setting from default to enabled.

Related

How to stop all running process before a new run in intellij

Is there any way to configure a run configuration in IntelliJ which will stop all running process before running a new run?
I always forget to stop the previous run. So I hit to the point where it says the port is busy by the previous run. So I have to stop the previous run and restart the new run. That takes a long time. I am wondering there should be some way to simplify this process. Please let me know any idea?
p.s: I tried the macro to record multiple steps. That is not working correctly.
As JB Nizet said in the comments, you can check the Single instance only checkbox in the Run/Debug Configurationspanel.
According to the documentation:
Single instance only. In this case, a confirmation dialog box will show up every time you try to launch run/debug configuration, when one instance of the same type is still running.
If you click OK in the confirmation dialog box, the first instance of the runner will be stopped, and the next one will take its place.
If this checkbox is not selected, you can launch as many instances of the runner as required. As the result, each runner will start in its own tab of the Run tool window.

assertConfirmation not displaying in selenium IDE

I am new to Selenium, I am using Selenium IDE to record test scripts.
I am having trouble while executing one of the recorded test cases in Firefox. It is a simple test case which clicks a button and then clicks on OK button of the pop up window .This is the page link for which I am creating script.
Below are the three steps recorded from IDE
The problem is that after the second step, i.e., click step, no pop up is being shown, the same happens in the next step.
The pop up is not displayed yet the test case gets executed correctly.
Could someone please let me know why I am not able to view the pop up ?

Does selenium IDE supports pass and fail status report?

I have done automation using selenium IDE for my web application. But I couldn't get the pass/fail status report. Please show me how to get the status report in selenium IDE.
You can check this link:
https://www.quora.com/Does-selenium-IDE-support-pass-and-fail-status-reports
It has the Youtube link which answers your question.
1st thing selenium IDE can show you some summery like how many tests
passed and failed but it cannot generate enhanced reports.
for example: selenium IDE have set of test cases in its lift side panel and and they are enclosed in test suites most probably, and each test case have test steps as rows in selenium IDE body.
So while execution if a test step passes then its indicates in green color and red if fails, and if a step fails then test case in left panel indicates in red color and at bottom of the left panel you will see a number in green color which indicates passed tests and a number in red color which indicates failed ones
this is the only way it shows the summery of the execution, but you can't generate full length reports because simply selenium IDE is not meant for that purpose
most of the times people use selenium IDE for simple automation tasks where they don't expect any reporting like things, if there is a complex or more requirements of automation one has to move from selenium IDE to WebDriver

IntelliJ IDEA TestNG output console clears

I have test with 3 test methods.
In output console I can see only data from the last run test method. Previous tests outputs are cleared.
Is it possible to see outputs of all test methods?
Thanks.
There is a tree of tests displayed on the left of the panel, click on the root to see the output of all the tests or click on the specific tests to see their output.

Displaying all tests names on Bamboo

Is there a way to display all tests names in Bamboo, instead of only the names of the failed/fixed tests. When I browse to the tests section of the result page of the build, only the total number of tests is displayed, e.g. '30 tests in total'. What I actually want to see is a list of all tests performed.
Go to your build results, choose the test tab and click on the small arrow on the left of the screen.
A navigator will show up.
Click on the job for which you want to see the test results and a list with all tests will show up in the right part of the screen.
The way I did this was to go to the Logs section for the test, and click Download.
Then, for TestNG which reports PASSED/FAILED I did:
grep -P "(PASSED|FAILED):" xxxxx.log
I agree though, it would be helpful to see which tests actually ran from within Bamboo.