Ask a Question

OTP coming from mail to be inserted in textbox

SOLVED
Naveenks
Contributor

OTP coming from mail to be inserted in textbox

Hi,

 

Can any one share jscript for below scenario :-

1. Open login page

2. enter user id

3. emter password

4.OTP generated in mail 

5.Capture OTP and insert into password textbox

Regards,

 

Naveen...

 

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: OTP coming from mail to be inserted in textbox

Looks to me like that thread explains how to get text out of the body of an email.  That should get your OTP.  For the rest of your request, isn't it just entering text in boxes?

 

What have you tried already and what happened when you did?

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

5 REPLIES 5
Marsha_R
Community Hero

Re: OTP coming from mail to be inserted in textbox

You didn't specify what email you are using, but this may be of some help:

https://community.smartbear.com/t5/TestComplete-General-Discussions/How-to-get-the-text-of-an-email-...

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
Naveenks
Contributor

Re: OTP coming from mail to be inserted in textbox

I am using msoutlook.
Marsha_R
Community Hero

Re: OTP coming from mail to be inserted in textbox

Then take a look at the thread I posted.  Someone asked a similar question before and it looks like there's an answer in there.

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
Naveenks
Contributor

Re: OTP coming from mail to be inserted in textbox

Sorry Marsha,

 

The said thread does not help me in any way.

Regards,

Naveen...

Marsha_R
Community Hero

Re: OTP coming from mail to be inserted in textbox

Looks to me like that thread explains how to get text out of the body of an email.  That should get your OTP.  For the rest of your request, isn't it just entering text in boxes?

 

What have you tried already and what happened when you did?

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: