How to create new project with .rxtst file

Best practices, code snippets for common functionality, examples, and guidelines.
dARKTOILET
Posts: 4
Joined: Tue May 09, 2017 8:56 am

How to create new project with .rxtst file

Post by dARKTOILET » Tue May 09, 2017 9:45 am

Hello All,
Need some help..

I have a test case that tests the whole proces and I need to use this test case few Times and change it.
So let's say my TC = a
I need :
a
a1
a2
a3b
a4bc
a5bcd
etc.
So I Can do changes to a3b without changing others TCs.
If I copy paste, the changes will be saved to all TC. Tried to create new project but there is no .rxtst file created..
What should I do :?:

McTurtle
Posts: 297
Joined: Thu Feb 23, 2017 10:37 am
Location: Benedikt, Slovenia

Re: How to create new project with .rxtst file

Post by McTurtle » Tue May 09, 2017 11:40 am

Hello dARKTOILET,

If you copy&paste a test case multiple times you will create test cases that have a different name but still refers to the same modules. Therefore, when you then go into one of the copied test cases and make changes in the modules this changes will reflect in all other test cases and you effectively end up with all test cases the same again :)

In order to provide you with some adequate advice the forum community will have to know the following:
1. Have you already considered data-driven testing? If the differences between your test runs are mainly values of variables then this is your solution. In this way you could keep only one test case. Lesson 3: Data-Driven Testing
2. Can you explain in more detail what the differences between your test cases should be? Maybe someone will come up with a good suggestion.

The recommended way would be to create modules that contain actions that are repeated in all test cases and modules that are test case specific. After that you should arrange them into the appropriate test cases. This enables for maximum re-usability and a good overlook for when something goes wrong.

Regards,
McTurtle

dARKTOILET
Posts: 4
Joined: Tue May 09, 2017 8:56 am

Re: How to create new project with .rxtst file

Post by dARKTOILET » Wed May 10, 2017 1:19 pm

Hello McTurtle!

I already did what u wrote there.
Thanks, much appreciate for your time
Hope you have a good one Sir!
bb.
darkTT