How can you use Credit Card test credentials to test out a Webform-CiviCRM form that uses a Contribution page?
There is a field on the Contribution tab within the CiviCRM tab of webform. The field is called "Payment Processor Mode" and gives you the following options
-User select-
Live transactions
Test Mode