Implementing Configuration Structure

Implementing Configuration Structure

Problem

Abhishek - Dr. Tosca, How to implement & manage test configuration parameters centrally?

Description

We have a large team working on different verticles of an application. Due to large working groups and different teams being involved in this project, we need to maintain a large number of test configuration parameters. This has become a very tedious and time-consuming task. As the number of TCP’s are kept on increasing. Can you prescribe a solution to avoid this situation and make the task a bit more organized?

Prescription

Dr. Tosca - Abhishek, This is a really interesting topic. The Situation you are facing is being faced by many organization which has large teams. To tackle this situation, I would suggest you create your TCP’s in the configuration according to the project requirement.


No alt text provided for this image

Abhishek - Dr. Tosca, This sounds interesting. How can we create the configuration and manage it centrally?

Dr. Tosca - Abhishek, A configuration folder is always present by default in the project root level. Apart from that, it can also be created in a component folder to segregate it by projects.

No alt text provided for this image

To create the configuration in component folder level

-?????????Select the component folder and create a? Configurations Folder?from the mini toolbar. create a Configuration inside the configuration folder.

No alt text provided for this image

?-??Select a configuration and create a? Test configuration parameter?from the mini toolbar. You can create an unlimited number of test configuration parameters.

No alt text provided for this image

?Abhishek - Dr. Tosca, It seems pretty fair and straight. How about the implementation, Once we create the TCP how can we implement it to test cases?

Dr. Tosca – Abhishek, You just need to drag and drop the relative configuration to the test cases or test case folders of the respective vertical. All the TCP created under the configuration will be implemented to the respective object.

?

Also, if you would like to make any changes after the implementation, you can manage it centrally by only changing the TCP- or values in the defined configuration and it will be reflected in every location these TCP’s are referred to.

Abhishek - Dr. Tosca, We have an application that changes the functionality according to the user who is using it. For example, if a guest user logs in, it will have limited functionality?and for Admin user will have full rights of the application under test.

No alt text provided for this image

In our Project, there are 2 teams. 1 team is working on guest functionality and 1 is working on Admin functionality. We have dedicated credentials for both types of users. We want each team to use their dedicated credentials. How can we handle this situation?

Dr. Tosca – Abhishek, I would suggest creating the configuration centrally and dragging it to the project as per the requirement.

As we can see on the screen I have created two sub-configuration, one for the Admin and one for the guest user. They both inherited the Browser and URL from the parent “Project B”

For the admin test case I will drag the “For Admin” sub-configuration to the Admin test case folder and For Guest TestCase, I will drag the “Guest” Sub configuration to the Guest TestCase folder. Since they both inherit the configuration defined from Parent, The TCP belonging to the parent will by default apply there.

No alt text provided for this image

I hope, you get all answers to your question. The solution prescribed will help you to implement & manage TCP centrally. I will come up again with interesting topics to help with your automation.

Till then, take care happy testing.

I hope this helps you in the integration of your project. If you are interested to learn how we can deploy buffer in different scenarios read the blog below.

How to immortalize the testcase in Tricentis Tosca?

?

Reference: User Manual

Asha S

Partner Enablement Manager at Virtuoso QA | IIM Trichy Alumna | EGMP '23

3 年

Wow, very much useful. Thank you Parag ?? #network

Abhijeet Yadav

Head of Customer Experience Transformation | PMP | Global Enabler | CSM | Test Architect

3 年

Must read for practitioners working in Tosca projects that have several configurations and are looking for a one point maintenance approach Nice one Parag Kukwas Abhishek Shukla

Vaibhav Patil

Founder & Chairman "The Teacher", Sarvarth & Sarvhitay | Whatever we focus, grows.

3 年

Very useful aspects covered Abhishek Shukla and Parag Kukwas... more and more level of knowledge of automation (tool + process) is of huge value to end customers and projects... keep rocking !!

Ganesh Kudale

Data Engineer at A. P. Moller - MAERSK|Hadoop|PySpark|Azure DataBricks|Azure Data Factory|Azure Synapse|SQL|Python

3 年

Very well Treated Dr. TOSCA. ??

Akash Raj Srivastava

Test Automation | Technical Project Management | Agile | SQL | API Testing | ISTQB-CTFL | AZ-900 | German Language-B1 | Insurance | Banking-Payments | E-Commerce | Retail

3 年

Really nice and Effortfull.

要查看或添加评论,请登录

Parag Kukwas的更多文章

  • Distributed Execution Implementation

    Distributed Execution Implementation

    Problem Abhishek - Dr. Tosca, How to set up Distributed execution? Description Last time we have discussed what is…

    8 条评论
  • How to reduce the overall execution time?

    How to reduce the overall execution time?

    Problem Abhishek - Dr. Tosca, how to reduce the overall execution time? Description We are running test cases as a part…

    2 条评论
  • How to immortalize the testcase in Tricentis Tosca?

    How to immortalize the testcase in Tricentis Tosca?

    Problem PK - Dr. Tosca, How to immortalize the testcase? Description We have a web application being developed by…

    4 条评论

社区洞察

其他会员也浏览了