Forum Discussion

ganapati_bhat's avatar
ganapati_bhat
Occasional Contributor
11 years ago

Is there any way to see the console while running the test cases?

Hi,



I am running a suitre run and it is taking much time to get complete. Is there any way to see which test case is currently running and console of it?



Log file get generate at the end of execution. I want to see the log while executing the test cases so that I will get to know which test case is being executed and when will it get complete.



Regards,

ganapati

2 Replies

  • chrisb's avatar
    chrisb
    Regular Contributor
    One way to see which test case is currently running is to get the name of the current test and display it in the 'indicator' that is displayed when tests are running. I have a script for the OnStartTest event that is triggered at the start of each test execution and includes these two lines to do the message:




    var currentTestItem = Project.TestItems.Current.Name;



    Indicator.PushText(currentTestItem);





    See support.smartbear.com/viewarticle/55370


  • AlexKaras's avatar
    AlexKaras
    Community Hero
    Hi Ganapati,



    You can use Indicator object to display the information that is useful to you. See help for the Indicator object for more details.