IntelliJ IDEA TestNG output console clears - intellij-idea

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.

Related

Selenium IDE Test Runs in GUI - But Fails when run in CL (linkText not Visible)

When my saved project and test runs in the Selenium IDE GUI it's fine, but when I perform the same test called via the command line side runner it fails. The issue appears to be the linkText not being visible, but I don't understand why it would fail when it runs fine form the GUI.
You can see the last step (8) as passed, with reference to the linkText
I then save the project in my local folder
And run it again using the side runner command
ElementClickInterceptedError: element click intercepted: Element Corporate Project/Program/Event (CORP) is not clickable at point (798, 199). Other element would receive the click: ...
It appears that the linkText maybe covered? The weird thing it's visible to me when the selenium test is running, just before it hangs. I did try to add some wait commands, i.e. "wait for element visible". But didn't seem to help.
Maybe I didn't insert the command properly?
I feel like I must be missing something obvious. Any suggestions?
I've found similar threads on GitHub that indicate differences in the way the IDE core and web driver work. One user indicates it actually IDE that's clicking through an overlay. I've managed to overcome my issues using simple pause commands, unsure why the wait commands didn't work for me.

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

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.

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

Running module specific tests in Intellij

I'm new to Intellij and I keep running into this problem where the IDE refuses to run module specific tests.
The steps I take are:
I drill down into the module to test/java
I right click on java and click run-all-tests
In the console all I see is "Process finished with exit code 0", and in the left pane that shows the results of each test run, I just see a <default package>. I dont see any of the tests.
Has anyone else encountered a problem like this?
When I checkout the code for the first time, it all seems to work. But after using it for a couple of weeks or so I get this problem.
Vivek

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.