I would like to know for an end to end testing, how can katalon get “Authenticator code” without accessing to an Authenticator mobile app? Is there any solution?
**strong text**
Nope.
I found a solution link: https://www.google.com/search?client=firefox-b-d&q=how+can+katalon+get+"Authenticator+code"+without+accessing+to+an+Authenticator+mobile+app%3F#kpvalbx=_3ViLXqk20ZOXBPjjgcgG22
Import this external libraries as shown below:
The script below is needed:
public class readMFA {
@Keyword
def GetMFAToken(){
Totp totp = new Totp('NMZXQ5JSNN5GGNLBG5RGSMZYGZZHS5RSMF3GO3TFOF3DQ33FGBWQ')
return totp.now()
}
}