Robotic Process Automation (RPA)

 View Only
  • 1.  Solve Captcha fail

    IBM Champion
    Posted Tue April 06, 2021 09:02 PM
      |   view attached
    Dear

    When I use Solve Captcha it always fails

    First Try

    I did this task and used command as the video and the result failed
    https://www.youtube.com/watch?v=P-wqUur23Eg

    Script

    defVar --name image --type Image
    defVar --name text --type String
    defVar --name succ --type Boolean
    webStart --name w --type "Chrome"
    webNavigate --url "https://www.cadesp.fazenda.sp.gov.br/(S(pqbbakd1y2csh01dyjmx1qhm))/Pages/Cadastro/Consultas/ConsultaPublica/ConsultaPublica.aspx"
    webClick --selector "Id" --id __tab_ctl00_conteudoPaginaPlaceHolder_filtroTabContainer_filtroConsultarCertidaoTabPanel
    webGetImage --selector "CssSelector" --css "#ctl00_conteudoPaginaPlaceHolder_filtroTabContainer_filtroConsultarCertidaoTabPanel_imagemDinamicaConsultarCertidao" --timeout 00:00:30 image=value
    solveCaptcha --image "${image}" --languageType "NotSpecified" --phraseType "OneWord" --numericType "NotSpecified" text=value succ=success
    webSet --value "${text}" --selector "Id" --id ctl00_conteudoPaginaPlaceHolder_filtroTabContainer_filtroConsultarCertidaoTabPanel_imagemDinamicaConsultarCertidaoTextBox
    webClose --name w --leavebrowseropen





    Second try
    This task is from the IBM RPA website example 1, and the result also failed

    https://www.ibm.com/docs/en/rpa/20.12?topic=ocr-solve-captcha



    Script

    defVar --name captchaText --type String
    defVar --name resolutionSuccess --type Boolean
    solveCaptcha --image "http://image.captchas.net/?client=demo" --languageType "NotSpecified" --phraseType "OneWord" --numericType "NotSpecified" captchaText=value resolutionSuccess=success
    logMessage --message "Found Text: ${captchaText}\r\nResolution Success: ${resolutionSuccess}" --type "Info"





    ------------------------------
    [Islam] [Fathy]
    [RPA Consultant]
    [ValleySoft]
    [+201093854466]
    Islam
    ------------------------------


  • 2.  RE: Solve Captcha fail

    Posted Fri April 09, 2021 06:12 AM
    HI Islam.  Maybe you could try the captcha recognition service is a cloud service provided by 2Captcha which can be used for the IBM CAPTCHA and reCAPTCHA commands for both IBM RPA SaaS and on-premise offerings. This capability requires customers to BYOL (Bring Your Own License) by purchasing a license from 2Captcha. IBM RPA CAPTCHA and reCAPTCHA commands need to be configured by specifying the 2Captcha license details. Customers can find out about 2Captcha using the following link…https://2captcha.com/

    ------------------------------
    NIGEL CROWTHER
    ------------------------------