Postman won't start on Windows 7 - postman

I've been using Postman for a while now. Suddenly though it has stopped working. When trying to open it I get a loading spinner then nothing. No error. Nothing in Event Viewer. Nothing. Although the Icon in the task bar at the foot of the page looks broken or corrupted.
I've tried reinstalling, rebooting, clearing cache - nothing
I'm on Windows 7, 64 bit
Anyone ran into anything like this? :-/

I had a similar issue. The solution that worked for me is to use --disable-gpu flag for postman shortcut C:\Users\<username>\AppData\Local\Postman\<app-version>\Postman.exe --disable-gpu:
More info on Github: https://github.com/postmanlabs/postman-app-support/issues/4594

This issue happened for me when running a remote desktop session, it appears that postman is running but opening off screen. According to this thread
https://github.com/postmanlabs/postman-app-support/issues/2833
This can happen when you add or change a monitor.
There is a solution there - deleting some json files - but I found that I could see the Postman app in Task Manager -> Applications and then bring it up by selecting "Switch To"

I faced a similar issue and found that you need to navigate to AppData\Local\Postman and find the latest installed version folder now change the shortcut path on the desktop in my case it was AppData\Local\Postman\app-7.36.0\Postman.exe I did and it worked :)
postman folder
postman desktop shortcut

I had a similar issue on Windows 10. The application did not show up after opening it. This post helped me:
Hover the Postman icon in the taskbar. Then click the preview window that opens above it.
Press Alt + Space and then M or click "Move".
Move the Postman window with arrow keys, it probably was invisible on the right or left side of your screen.
This problem appeared after working with an external display. When I got Postman back visible, it showed an update dialogue.

Related

Icon in Action Bar on Lollipop

I have tried putting android:icon and android:logo under Application and the launcher activity in the Android Manifest. I have also tried programatically setting the logo and setting the icon. And finally I have also tried including icon="my_icon" and logo="my_logo" in the AppCompat styles.xml. None of this has worked and I am still left icon less. Any help please?
Google decided to disable the action bar icon beginning in Lollipop without documentating the change. There is another thread with more information.

Prevent new browser window from opening when running Protractor tests

I'm using JetBrains Webstorm IDE and set it up to run my Protractor tests from inside, and all the command line output shows nicely in the test runner, but the browser window pops up over everything and I find it extremely distracting. Is there a way to stop it from showing? Or forcing it to stay minimized?
This applies to Karma - but maybe you can do the same thing in Protractor.
My horrible hack for this is to launch Firefox with -with-tab instead of -no-remote and set the Firefox tab loading behaviour by using the info at http://www.techsupportalert.com/content/how-stop-firefox-stealing-window-focus.htm - basically by setting browser.tabs.loadDivertedInBackground to true.
This prevents the window stealing focus when you load a new tab. You end up with a lot of tabs though.

Access content property in the debugger

how can i access the content property of a controller within the chrome debugger.
I really try to find a way to debug my application. So far i can't find a way to do that.
Thank you
Alex
add the statement
debugger;
in the method you want to debug,
Open Google Chrome, CTRL+SHIFT+i
Hit the URL of your application, navigate to the state where you think the code would run
Google Chrome automatically stops at the debugger; statement and focuses you to the sources/scripts tab as you can see in the picture
Inside the Watch expression tab click on the "+" too evaluate code in your case it would be
this.get("content");
As long as you have this breakpoint you can switch to the console panel and execute the code in that context, whenever you are done you can either close the panel by clicking CTRL+SHIFT+I or the close button down there, you can add breakpoints manually by clicking on the line number as well , Hope this helps
For more info
I'm using Ember Extentions which is not ready yet but certainly usable.
There are 2 possibilities
Use the Ember Inspector Tool for Chrome: It is not officially released yet, but from what i have heard it seems usable. I had no time to try it myself yet, but here is an article telling you how to install and use it.
Get access to your controller in the console of your browser. And then examine it as you like. Here is the code to get access to your controller.I use it myself in my app for debugging:
// i assume that your Ember.Application is stored in the global var App
var App = Ember.Application.create({
getController : function(name){
return this.__container__.lookup("controller:" + name);
}
});
// now you can use it like this. To get the users controller (App.UsersController) just use this in the console:
App.getController("users")

How do I test modal dialogs with Selenium?

I'm getting started with Selenium IDE and trying to test a webapp that's full of modal dialogs (window.showModalDialog).
Recording the test seems to work (except there's nothing in the log when the dialog pops up) but they don't play back properly. The script actually opens the window (triggered by a button click), but then just waits indefinitely.
Any suggestions?
From the Selenium FAQ, Selenium apparently works with some types of dialogs but not others:
I can't interact with a popup dialog.
My test stops in its tracks!
You can, but only if the dialog is an
alert or confirmation dialog. Other
special dialogs can't be dismissed by
javascript, and thus currently cannot
be interacted with. These include the
"Save File", "Remember this Password"
(Firefox), and modal (IE) dialogs.
When they appear, Selenium can only
wring its hands in despair.
To solve this issue, you may use a
workaround (if one exists); otherwise
you may have to exclude the test from
your automated corpus. For the "Save
File" dialog in Firefox, a custom
template may be specified when running
via the RC that will always cause the
file to be downloaded to a specified
location, without querying the user
(see
http://forums.openqa.org/thread.jspa?messageID=31350).
The "Remember this Password" dialog
should not appear again after you've
chosen to remember it. Currently there
is not much that can be done about IE
modal dialogs.
I seem to remember someone working around this with an AutoHotKey script that dismissed the dialog.
I have been using Selenium IDE to test jQuery modals for quite sometime now, I never faced any problem. Here are the things I do to ensure that the test executes properly on playback:
execute the script at the slowest possible speed
when the modal opens, I use the waitForElementPresent command to verify the presence of at least one of the constituent elements on the page; argument being, if one element loads properly, it is safe to assume that all the elements and hence the modal window loaded up properly.
Hope this helps. If you want further help, you can share the code with me alongwith the error in execution that IDE throws out to you.
Modal window hacked:)
http://seleniumdeal.blogspot.com/2009/01/handling-modal-window-with-selenium.html
This is how I handle pop up alert in Selenium IDE
right click on the element (in this case your pop up window) there are some command you can choose. There's also a show all available commands whiche might be a help.
You should use AssertElementPreset and I guess the best locator in this case is CSS. So you can choose AssertElementPresent.
Or
you can use two command on Selenium IDE
selectWindow | null
verifyElementPresent | css=div.content
Hope this helps!

Programmatically navigating to the Windows Mobile home screen

We have an application that downloads some files in the background. Our application pops up when an Internet connection is made, and after prompting the user to accept the downloads, we'd like to switch back to the home screen while we do our stuff.
We can't work out how to do to this. We can emulate pressing "back" a few times, which sometimes works, but where you end up depends on what the user was doing when the Internet connection happened.
So, can someone provide pointers to how to do this?
Thanks.
Paul.
Can you try setting the today screen as the foreground window?
HWND hWnd = FindWindow(_T("DesktopExplorerWindow"), _T("Desktop"));
SetForegroundWindow(hWnd);
Why don't you simply hide your app?
Using a Notification shell object instead of popping up a full screen window might be a better alternative. Details here.