Travel on H1B transfer under process

She changed job from Company A to Company B, Company B filed her H1B transfer which is under process. The approved petition from Company A is valid till September 2017, Can she travel to India in Feb 2017 and get visa stamping on Company A’s approved petition while H1B transfer filed by Company B is under process and fly back to US on that visa

No: Once she has left the Company A, the Visa sponsored by Company A is automatically invalid. She cant use that Visa for another company stamping.