golnar
11 years agoNew Contributor
Setting the value of a non fixed position variable
I have to create a test for a report page, we can set the section name,like Advising Load, start year, like 2012, and end year, like 2014,and see all the actvities for that section, during the start year and end year. The result will be in a table, that columns are different semers, like spring 2011, all 2011, .. and rows shows the number of activity in each term, and also the totall number of the selected activity during the start and end year. I have to record the value of totall. But after recording a test, if I change the start and end year, and run the test, since the postion of totall value, will change, my recorded test can not find the totall value.
Is there anyway to fix this problem?
Is there anyway to fix this problem?
- Hi Golnar,
It's quite difficult to suggest something without seeing your recorded tests or your tested app.
If you are using Name Mapping in your test, you need to carefully map the objects, and choose mapping criteria that won't change from run to run, or the values that you can control by changing the project variables.
Anyway, we need more information to tell you anything for sure.