1.

How Can We Do Automated Testing Using Vsts?

Answer»

In order to do automate testing in VSTS we need use the ‘WEB TEST’ template. So click on add new test and select ‘Web test’.

Once you have selected web test browser will open with a RECORD, pause and stop button as shown in the below figure. Once you START posting and requesting, the URL recorder starts recording every request and RESPONSE as shown in the below figure. On the right you can see how the recorder has recorded all the get and posts.

Below is a snapshot of simple login screen which is recorded. There are two requests, the first request is for the login page and the second request is when you post the login page with userid and password. You can see the values i.e. ‘Admin’ and ‘Admin’ in userid and password textboxes.

In order to do automate testing in VSTS we need use the ‘Web test’ template. So click on add new test and select ‘Web test’.

Once you have selected web test browser will open with a record, pause and stop button as shown in the below figure. Once you start posting and requesting, the URL recorder starts recording every request and response as shown in the below figure. On the right you can see how the recorder has recorded all the get and posts.

Below is a snapshot of simple login screen which is recorded. There are two requests, the first request is for the login page and the second request is when you post the login page with userid and password. You can see the values i.e. ‘Admin’ and ‘Admin’ in userid and password textboxes.



Discussion

No Comment Found