Description on CommentLines

Need new test, action, option? Post request here.
User avatar
Stoltze
Posts: 174
Joined: Tue Feb 03, 2004 1:58 am
Location: Denmark

Description on CommentLines

Post by Stoltze »

Hi,

I use commentlines for various things.. But sometimes it's hard to remember which line is for what.. (Maybe it's just me getting old.. :o )

If I could have a central view of the commentlines, where I could add a description, then I would have an overview of them..

And then when choosing commentlines at test level, I would have an extra column, that shows the decription of the line..

Don't know if this is relevant for anyone else, but since I always use the numbers for the same thing, it would be very nice... :)
sergei_og
Posts: 8
Joined: Wed Jun 18, 2008 7:41 am

Good idea

Post by sergei_og »

I use 7-8 comment lines for variuos variable.
it seems to me good :)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

One central place for comment line names? H'm :roll: I think different test items in different folders may use different "comment logic"?
May be we can implement this as "undocumented" option, just for you...

Regards
Alex
User avatar
Stoltze
Posts: 174
Joined: Tue Feb 03, 2004 1:58 am
Location: Denmark

Post by Stoltze »

Alex;

Even though I would like to have this feature, I don't like undocumented special features... :(

I use the same commentline for the same "logic" in all folders, but you're so right that others might not do the same..

Perhaps you could add a checkbox in the options?
"Use the same commentline description for all tests"
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Undocumented option can be implemented sooner...

Regards
Alex
User avatar
Stoltze
Posts: 174
Joined: Tue Feb 03, 2004 1:58 am
Location: Denmark

Post by Stoltze »

Smiling... That's correct... :)

Well.. It's your call.. If you will implement this as undocumented feature, I would appriciate it.. Very much..

You have my email... :)
User avatar
greyhat64
Posts: 246
Joined: Fri Mar 14, 2008 9:10 am
Location: USA

Post by greyhat64 »

Maybe I'm not seeing the problem, but I think a simple workaround for all of this is to use odd commentlines for descriptions and even ones for the purpose described.
%CommentLine1% | md5 value used to verify file integrity
%CommentLine2% | da1e170dc9c7beab810925e37874dc31

There's nothing 'undocumented' about that :wink:
User avatar
Stoltze
Posts: 174
Joined: Tue Feb 03, 2004 1:58 am
Location: Denmark

Post by Stoltze »

greyhat64 wrote:Maybe I'm not seeing the problem, but I think a simple workaround for all of this is to use odd commentlines for descriptions and even ones for the purpose described.
Could you please explain this more in depth...?

I need help to remember, which CommentLine is for what... So when filling out commentlines from the test, I need to remember if CL15 is Location or Country for example...

Do you have a solution for that..? :)
User avatar
greyhat64
Posts: 246
Joined: Fri Mar 14, 2008 9:10 am
Location: USA

Post by greyhat64 »

Let's say you have the following:
XXXXX%CommentLine1% | United States
XXXXX%CommentLine2% | SouthEast
XXXXX%CommentLine3% | Atlanta
XXXXX%CommentLine4% | Georgia

Modify as follows:
XXXXX%CommentLine1% | Country
XXXXX%CommentLine2% | United States
XXXXX%CommentLine3% | Region
XXXXX%CommentLine4% | SouthEast
XXXXX%CommentLine5% | State/Provence
XXXXX%CommentLine6% | Georgia
XXXXX%CommentLine7% | City
XXXXX%CommentLine8% | Georgia

This idea is admittedly half baked, but these %CommentLine#% pairs give you the information you need. Of course you didn't mention needing to use the description in a formula, but you could, (pseudocode)

Code: Select all

'The variable [%CommentLine1%] is equal to [%CommentLine2%]
Programatically, a method of incrementing the %CommentLine#% value (ie %CommentLine(%IntegerValue%)% = %CommentLine(%IntegerValue%+1)% would be nice.

I don't really have a use for this myself, so if someone else can improve upon this idea, please help bale me out of this one! :P
User avatar
Stoltze
Posts: 174
Joined: Tue Feb 03, 2004 1:58 am
Location: Denmark

Post by Stoltze »

Sorry, but this doesn't work for my needs..

It's not because I have som similar data, so I could just choose from a range..

The problem is to remember, whether I need to fill out devicename in line 4, 5, or 6... And whether to wite the emailaddress/global variable to sent alarms to, in line 2, 3, 4 or 5..

If I had a description in the same row as the commentline, it would look something like this when filling out in the test:

Code: Select all

Macro variable  |   Description   |   Text
%CommentLine1%  |   IP-address    |   10.10.10.10
%CommentLine2%  |   Hostname      |   MyRouter
%CommentLine3%  |   EmailAlert    |   name@alerts.com
etc etc
Does this makes sence...?
User avatar
greyhat64
Posts: 246
Joined: Fri Mar 14, 2008 9:10 am
Location: USA

Post by greyhat64 »

I agree that having a description in the same line, a sort of three dimensional associative array (key, value, description) would be ideal. I was simply trying to work within the confines of what is there and split the description and value across the existing two dimensional array.
Ideal - NO. A workable solution - maybe, with a little effort.
I still contend that you could look for, as in your example, Hostname. If found in %CommentLine3% you know the value for that description is in CommentLine4%. This, of course, might involve a certain level of scripting to get to where you need to be.

Good luck working this out. Hopefully this upcoming 'undocumented feature' will become a common feature - v8.5 or v9 maybe :)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Done. Implemented in version 7.94 Beta

BTW We uploaded version 7.90 for testing and have not received single report. I assume nobody using beta versions even for testing so there is no sense to upload version 7.94 Beta?

Regards
Alex
User avatar
Stoltze
Posts: 174
Joined: Tue Feb 03, 2004 1:58 am
Location: Denmark

Post by Stoltze »

greyhat64 wrote:I still contend that you could look for, as in your example, Hostname. If found in %CommentLine3% you know the value for that description is in CommentLine4%. This, of course, might involve a certain level of scripting to get to where you need to be.
My mistake.. I didn't get your design.. Now I see what you mean... :)

But I would say, that with this solution, you would need to have all these descriptions in all tests, and if you make a change, you need to do it all across the configuration.. :(

But as allways, Alex is veeeery fast a solution... :)
User avatar
Stoltze
Posts: 174
Joined: Tue Feb 03, 2004 1:58 am
Location: Denmark

Post by Stoltze »

KS-Soft wrote:Done. Implemented in version 7.94 Beta
Damn you're fast Alex..!! :D
KS-Soft wrote:BTW We uploaded version 7.90 for testing and have not received single report. I assume nobody using beta versions even for testing so there is no sense to upload version 7.94 Beta?
I must be honest and say, that I only use beta versions if it fix some special bug for me.. I simply don't have the time.. :roll:
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Then you should wait for release of version 8 (I hope April 2009). We do not plan to make any releases before version 8.00 because we made a lot of changes and need time for testings...

Regards
Alex
Post Reply