cokyn
12 years agoContributor
Run the same keyword test for various builds. Objects vary in version.
Hello,
I am new one on this forum and I've just started to work with TC. I would like to ask to help me to resolve the following problem.
We use the "TeamCity" build server and I would like to run certain test after each build. So first I started to implement test which install our application on the same pc where the build server is installed (install is nsis).
I have created the test but I found out there is specific version of the application in every object
for example for the build PLIS 2.1.7.5982 objects look like Aliases.PLIS_2_1_7_5982.dlgSmartAIM2175982Setup.btnNext.ClickButton()
so the test will never pass for another build e.g. 2.1.7.5983 because all objects vary in the version.
Can you define objects with some variable inside?
How would you handle with this problem?
Thank you in advance
Martin
I am new one on this forum and I've just started to work with TC. I would like to ask to help me to resolve the following problem.
We use the "TeamCity" build server and I would like to run certain test after each build. So first I started to implement test which install our application on the same pc where the build server is installed (install is nsis).
I have created the test but I found out there is specific version of the application in every object
for example for the build PLIS 2.1.7.5982 objects look like Aliases.PLIS_2_1_7_5982.dlgSmartAIM2175982Setup.btnNext.ClickButton()
so the test will never pass for another build e.g. 2.1.7.5983 because all objects vary in the version.
Can you define objects with some variable inside?
How would you handle with this problem?
Thank you in advance
Martin