Overlink couldn't be recorded when download

4 posts, 0 answers
  1. Ella
    Ella avatar
    6 posts
    Member since:
    Mar 2015

    Posted 10 May 2015 Link to this post

    Hi, when I record the download file process, I click Download button,  then IE open a window,I need to click "Continue to this website (not recommended)." to next step,but TestStudio couldn't record this step. Additionally, I used action 'LeftClick' on this link, but it  also didn't work when I run the script.More details you can know from the attached file. Could you please tell me how to solve this problem? Thanks.
  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 14 May 2015 Link to this post

    Hi Ella,

    This is expected behavior and it's related to the way Test Studio hooks into the browser. If this warning is a problem for your test automation, use the Register certificate for https connection feature.

    See this article for further information.

    Let me know if this helps.

    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Ella
    Ella avatar
    6 posts
    Member since:
    Mar 2015

    Posted 14 May 2015 Link to this post

    Hi Boyan,

    I've done with what you said, but it doesn't help. Any other ideas could help me ?

  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 19 May 2015 Link to this post

    Hello Ella,

    Have you received a notification that have installed the certificate?

    If the issue persists you can handle this with a combination of key presses.

    The fastest and easiest way here is just to press TAB and Enter for example (or the right key combination which will click the second link):

    Manager.Desktop.KeyBoard.KeyPress(System.Windows.Forms.Keys.Tab, 50, 1);

    Manager.Desktop.KeyBoard.KeyPress(System.Windows.Forms.Keys.Enter, 50, 1);


    Let me know if this helps.


    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top