It may mean both.
If you are trying to fix something and can't understand why it should work, but doesn't, then you can say this.
I say it all the time! :)
You can also say it if someone asks you whether or not something will work if they do it.
It's a safer way of saying "Yes, it will work" without looking bad if it doesn't.