Showing posts with label bat. Show all posts
Showing posts with label bat. Show all posts

1/03/2017

How to kill process in Windows (for example, Internet Explorer)

Sometimes you need to kill some process or instance, you can run Task Manager  :  taskmgr and kill the process manually.

But it is better to do the task faster and without a mouse.

For example:

Usually after test fails you need to cancel/delete/stop IE instances. To make it easy, do the following:
  • create new text file, name and save it as a bat file, for example: stopIE.bat
  • write in the stopIE.bat file the following:
taskkill /F /IM iexplore.exe
taskkill /F /IM IEDriverServer.exe
  • create a shortcut for the bat file
  • right click on the shortcut >> Properties, click into Shortcut key field and click on your keyboard some keys, for example Ctrl + Alt + C >> click OK button
  • any time just use the hot keys to run the bat file.

Visual Studio Code, WebdriverIO, JavaScript and Chrome - cucumber html test report

 Apart Allure test report  we can use Cucumber test report in html format. We will follow this instructions . 1. Install  wdio-cucumberjs-js...