IntelliJ IDEA: Running multiple applications with one click - intellij-idea

My application consists of 5 separate modules - web application, static web resources, 3 Java applications communicating through message queues.
My current workflow is to manually select them one by one from right corner select box and click Run or Debug button. This is especially annoying when I switch between SCM branches several times a day and I need to re-run everything.
Is there a simple way to configure IntelliJ to run all of them with one click?

Related

How window task manager group processes under an application?

As titled, I am wondering how window task manager group processes into 1 application name. Please see below picture for what I want to do.
I have checked out this post. Therefore, I have 2 questions.
How to have an application process to house rest of the processes (including background process) in the task manager such that I can monitor the performance of the application at all
How to rename that root application, and the icon since my application is spawning some python processes at background etc. I would like to name them as "company product" instead of "python" in the task manager.
Any guidelines will be appreciated.
Some more background:
In our application, we spawn many processes (python, postgres, redis etc)
Currently, we bundle the entire application as window application via inno setup
The actual start up process:
Launch a python script (__main__.py)
Create the necessary UI components
Create background processes like redis, postgres etc

vb.net - How to make a "hub" or a main menu of multiple exe projects that will update independently?

I have approx 22 vb.net windows form based projects that are run by different users throughout my company. I publish them using one-click to a network server, then install on each user computer using the set-up file on that server. That way, when I publish an update, it is automatically pushed to each user when they open their programs.
I'd like to consolidate all of this into 1 program. So for example, the Accounting dept, IT Dept, and Customer Service Dept would all have the same icon/program to open, and they choose which program specific to them to open from that main menu. The goal is to remove all 22 programs from user computers and only have 1 installed that runs each individually (somehow).
My dilemma is program updates. When I update a program for the Accounting Dept, IT doesn't need that update. But since it would be only 1 installation and 1 publish, every user on the network would receive updates not relevant to them. So how do I create one main program "hub" for all users that only receives updates to the programs that they need?
You can launch the click once programmatically
Dim url = "\\Software\Production\ClickOnceApp\ClickOnceApp.application"
Process.Start("rundll32.exe", "dfshim.dll,ShOpenVerbApplication " & url)
Just point to the url on your server, where it's installed from. This will launch the app the same way windows does, so it would check for updates when it's run as if it's run from the start menu.
Then you could maintain a list of 22 applications' names and locations in the 23rd app's settings, xml, sql, etc., and add user groups, permissions, etc.
It could be a winforms app which provides buttons according to the configuration above for launching all these apps. Yes, I think this is actually a pretty neat idea.

Wanting to get rid of the Test Hub in TFS and integrate with Test Rail

Just wondering if there is a way to integrate TFS with TestRail to replace(get rid of entirely) the Test Hub within TFS to use TestRail to record Test Plans?
My concern with removing the Test Hub, would be if Test Rail can still reference IDs in Bug and Stories within TFS and vice versa?
You currently cannot remove the standard Hubs in Visual Studio Team Services / TFS or replace them with something else. You can enable an extension that either adds its own functionality under said hub as a separate tab or adds another Test Rail hub to the top level (if there is any) or write your own. Extensions currently cannot leave their sandbox to overwrite standard functionality.
There is nothing preventing anything from keeping track of work item numbers anywhere, so the second part of your question, whether it would have broken any form of integrations, that's unlikely.
If you are on TFS, you could try creating a custom process template that doesn't have the Test Case, Shared Step, Test Suite and Test Plan work item types, this will likely at least completely cripple the existing functionality. In the on-prem version you can also customize the files on disk, I've never tried, but it's likely that you could probably hack the test hub away. That would be a totally unsupported scenario through.

PhpStorm - Save different session states for the same project

Without creating a new project for each bug/ticket I have to work in within a project, is it possible to save the open files for each of the different bugs/ticket I am working on.
As a very simple example, I am working on Project Golf and have two bugs. #1 - Add CRUD functionality for Player. #2 - Add CRUD functionality for Course.
Within Bug #1 I am working on files views/players/index.php, views/players/add.php, views/players/edit.php and views/players/view.php
Within Bug #2 I am working on files views/courses/index.php, views/courses/add.php, views/courses/edit.php and views/courses/view.php
I would like to be able to easily switch between bug by opening project Golf > Bug #1 or Golf > bug #2 and open the required files that I am working on. The current functionality for me is that PhpStorm will open whatever files I was last working on within that project. If I switch to a completely new bug with completely different I then need to go and reopen them all again.
Although I could create a new project for each bug, this feels a bit cumbersome and the Project Manager screen would also become very cluttered.
If you are using integration with an Issue Tracking System in PhpStorm then IDE will load your tabs that you had open when last time worked on that particular ticket/task.
Regardless if you use such integration or not -- this functionality is called "Contexts" and you can switch between them using Tools | Tasks & Contexts | Load Context.
More on this in official Help pages: https://www.jetbrains.com/phpstorm/help/switching-between-contexts.html?search=context

Multiple login tests on mobile app with UFT

I am trying to test the Login feature of my Android app with multiple user-password entries that I have in an Excel. I have already been able to import that data from the Excel successfully and run the same test with each row (with "Run on all Rows" option), but now I am facing a problem that I am not being able to solve.
After a test runs with one row, one the test starts over with a new row, it will not restart the app, but start at the same point where the previous one finished. I think this is not the expected behaviour, in general, since most of the GUI testing tools restart the app when testing a feature with parametrization (data from Excel, mostly). Anyway, I "fixed" this by logging out in my app.
In this case there was an "easy solution" by logging out. But what if I was testing a different feature in which I cannot simply "log out". The problem is that in those different cases I would have to navigate back or do something that may fail and has nothing to do with the feature I am testing.
I am not sure if I am not using the right approach. Is there a good general solution for this issue?
I would suggest the following two ways to solve your problem if you cannot simply use logout as the last step.
Use App.Launch function you can add one line to the top of your script like Device("iPhone 7").App("myApp").Launch NotInstall, Restart . Here the device and the app can be TO in object repository or identified using descriptive programing like Device("id:=123456")
Check options in Test Settings Please check the latest UFT version maybe 12.53 or later if there are any options in Test Settings for users to choose to restart or reinstall app for iterations.
Thanks