Before His resurrection, He operated as a man (sinless) by receiving from His Father through faith. Luke 8:47 says that the woman "saw that she was not hid." It's evident that Jesus received a word of knowledge from the Holy Spirit and had singled out this woman. This was after He felt the power of God flow out of Him and heal her. The woman was healed before He discerned her by the law of faith.
The law of electricity has been here on earth since creation. Man has observed it in such things as lightning and static electricity, but it was not until someone believed that there were laws that governed the activity of electricity that progress began to be made in putting it to use. We don't deny the existence of faith, but it's when we begin to understand that there are laws that govern faith, and begin to learn what those laws are, that faith will begin to work for us.