# Is there any options to achieve 2FA in a Windows App testing

**URL:** <https://forums.eggplantsoftware.com/t/is-there-any-options-to-achieve-2fa-in-a-windows-app-testing/14491>\
**Category:** Eggplant Functional\
**Tags:** script, sensetalk, eggplant-functional\
**Created:** [June 19, 2025, 11:19am UTC](https://forums.eggplantsoftware.com/t/is-there-any-options-to-achieve-2fa-in-a-windows-app-testing/14491 "2025-06-19T11:19:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scsvel](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/scsvel/32/316_2.png) [@scsvel](https://forums.eggplantsoftware.com/u/scsvel)\
**Post date:** [June 19, 2025, 11:19am UTC](https://forums.eggplantsoftware.com/t/is-there-any-options-to-achieve-2fa-in-a-windows-app-testing/14491/1 "2025-06-19T11:19:47Z")

</div>

May I know if there is any way to input some phone number, and get the code which will be sent to that number to continue the testing? Note that, this is a windows desktop app; not a mobile app. I am looking for options if any that can be doable via just SenseTalk script or is it possible.  
Thanks.

---

<div class="post-metadata">

**Author:** ![scsvel](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/scsvel/32/316_2.png) [@scsvel](https://forums.eggplantsoftware.com/u/scsvel)\
**Post date:** [August 18, 2025, 10:45am UTC](https://forums.eggplantsoftware.com/t/is-there-any-options-to-achieve-2fa-in-a-windows-app-testing/14491/3 "2025-08-18T10:45:42Z")

</div>

Thanks @thomas598batson .  
I was looking for the similar options but just part of EPF if it has any inbuilt integrations or their own.

---

<div class="post-metadata">

**Author:** ![jetoyer457](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/j/9de0a6/32.png) [@jetoyer457](https://forums.eggplantsoftware.com/u/jetoyer457)\
**Post date:** [October 27, 2025, 4:59am UTC](https://forums.eggplantsoftware.com/t/is-there-any-options-to-achieve-2fa-in-a-windows-app-testing/14491/4 "2025-10-27T04:59:12Z")

</div>

Hello,

It is not possible for SenseTalk to directly intercept an SMS sent to a physical phone number; you must integrate with an external SMS testing API service to retrieve the code programmatically.

Best Regard,  
Jet

---

<div class="post-metadata">

**Author:** ![bruce126banner](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/b/b9e5f3/32.png) [@bruce126banner](https://forums.eggplantsoftware.com/u/bruce126banner)\
**Post date:** [September 28, 2026, 9:52am UTC](https://forums.eggplantsoftware.com/t/is-there-any-options-to-achieve-2fa-in-a-windows-app-testing/14491/6 "2026-09-28T09:52:18Z")

</div>

To capture SMS verification codes in SenseTalk, integrate an API like Twilio. Your script can send a request to retrieve the incoming OTP and automatically populate the desktop field!
