ContributionsMost RecentMost LikesSolutionsRe: Showing Scenario as message instead of green/red Thanks rraghvani I think I need to live with Log.Warning for the scenario I shared. Updating 'Type Description' to show Message icon against Scenario would solve the issue, but that's not supported with LogParams Object. Re: Showing Scenario as message instead of green/red rraghvanithanks for your reply. The Difference method also works well and I am able to log message but I need to know if the Scenario can appear as message too ? For example, in attached image, can line one in Green can also appear as message icon? I'm using BDD scenarios so the example in the below reply can be assumed as three different scenarios. Thanks Re: Showing Scenario as message instead of green/red Can these icons appear as message icon Showing Scenario as message instead of green/red Hi everyone, I have a test where we have a condition calculating difference of two images. In test complete image difference even a slightest pixel change fails the comparison so we are using Difference method instead to avoid test fails. We don't want to fail images based minor pixel changes. However, I need to make sure that if there's a slight difference between pictures, the test logs scenario should not pass it, neither fail it but it should display scenario as a message. We don't want to add warning as well. Is this possible for test scenario to appear as message rather than checkpoint? For example, Log.Message logs message but is it possible for a scenario to be the same? Thanks Re: How to pass parameters in WshShell.Run Thanks rraghvani and Babulu The arguments were passing fine but I have function 'copy' in powerhsell script that is not able to accept the arguments for some reason. If I don't add the function and use Copy-Item directly, it works. So the issue is not from string side. How to pass parameters in WshShell.Run Hi all, I hope you all are doing well. I use powershell files alot in Javascript test complete scripts. But I am struggling to pass paramaters in string. var testingP = "some path"; var source = "some path"; var destination= "des path"; WshShell.Run("powershell -file \"" + testingP + "ABCD.ps1\"" & source & destination); The powerhsell file executes if I dont add & source & destination but I need to pass parameters. My PS file: [CmdletBinding()] param ( $source, $destination ) function copy($source, $destination) { Copy-Item –Path $source -Destination $destination -Recurse } thanks SolvedRe: No failure count in Execution Summary though the tests have been failed Please check the following test flow: Step1 : Project on error = Stop current item in the Execution Plan Step 2: Event handler used = StopOnError_OnStopTest - it works in combination with step 1 Summary shows no failure count. In order to get the failure in summary, I understand from your reply that the test needs time to log results. How can I do it if my test stops on error and I need to perform certain action in event handler. I'm not sure which event to use to see failed test failure on summary in this scenario except using the one I mentioned in Step2. Thanks TestQA No failure count in Execution Summary though the tests have been failed Hi, I am usingStopOnError_OnStopTest(Sender) handler that runs if test encounters any Log.Error while running. I need to export summary of the failed results when the test fails so I am using Log.SaveResultsAs in the handler. The handler is critical as we are using it to switch to next features if current features fail. Now the problem is despite of failed tests, the exported summary is showing 0 Failed count. Please check attachment. My QA department is not approving this and want to see correct fail count in summary. Please note that the On error property in project settings is set to Stop current item so that the test stops running and executes handler. Thanks Test Complete on different machines taking different time to find objects Hi everyone, My colleague and I are using Test Complete on our different test machines. The test complete he has installed on his machine takes much less time to find objects especially windows dialog and any swing dialog etc, while mine test complete takes ages. Is there anything in project config that might cause this ? Thanks Re: Regex to verify a string For now, I found an alternative and instead of using RegEx I am getting all data into an array and using substring match to find the right values.