How to use test studio to automate data input on a website with complex login process

1 Answer 77 Views
Test Recording
YAN
Top achievements
Rank 1
YAN asked on 06 Sep 2023, 12:06 AM

Dear all,

I am trying to record a web test using test studio, but I have encountered a problem logging into the website. The website I need to log in to requires not only a username and password, but also a dynamic security code (a new security code is obtained separately before logging into the website each time), and the most troublesome thing is that it also requires a graphic verification code. Then I can open a web page where I can input data, and I hope test studio can automatically input hundreds of data on this page.

Is there any way to make test studio log in to the website automatically? Or a more ideal method: I manually log in to this website and enter the data input page, and then run test studio, let it work automatically on this page? I look forward to your reply. Thank you very much.

Bruce

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 06 Sep 2023, 02:17 PM

Hi Yan,

The general idea of multi-factor authentication with any third party tool is to add another layer of security for accessing the main application. Such scenario is difficult for automation and is a challenge for any automation tools - Test Studio also does not provide a solution out of the box. This is why we usually recommend our customers to setup a dedicated testing environment, which does not use the multi-factor authentication and use it for test recording and execution. 

Other than that, if there is no option to setup a testing environment, you can design your tests so that they use a manual step where you need to finish the multi-factor authentication process. Then you can use the partial test run options to run steps into the active recording session. This approach, however, allows you to run the tests only locally. 

I hope the provided information is useful for you.

Regards,
Elena
Progress Telerik

Virtual Classroom is the free self-paced technical training portal that gets you up to speed with Telerik and Kendo UI products including Telerik Test Studio! Check it out at https://learn.telerik.com/.
Tags
Test Recording
Asked by
YAN
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or