selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

Adding comments is not available in new selenium IDE

Open manikumary opened this issue 8 years ago • 6 comments

hi, We have a feature of adding comments in the steps which help to understand the steps easily by anyone when script steps are more. In new IDE please consider feature of adding comments. (like when we include // followed by text is considered as comment Ex: //test for login) Also consider while migration of old selenium tests to new ide. if any old tests have comments those should be visible in new IDE as well.

manikumary avatar Feb 22 '18 07:02 manikumary

I understand the importance of comments,
But I'm not sure this is the best way to go, as the space in the table is limited, and this info has nothing to do with the data itself, it is just a metadata.
I will try to find a better way to do this, when I have that solution I will make sure to migrate the comments as well.

corevo avatar Feb 22 '18 14:02 corevo

ok thanks for your reply.

manikumary avatar Feb 23 '18 06:02 manikumary

Testing frameworks often display test scenarios as compact and human readable specs.

The SnapTest extension uses the similar approach in GUI. It just display comments on the front of steps implementation details.

What if Selenium IDE implements something like that?

generalov avatar Mar 07 '18 19:03 generalov

Amazing idea, I'm working on it right now

corevo avatar Mar 08 '18 15:03 corevo

@manikumary I will need an example from the old IDE of comments, from my understanding there are two types.

  • comment that can be inserted through context menu
  • comment that you can add as you described

If you could give me an example test case I'd gladly work on migrating those

corevo avatar Mar 08 '18 15:03 corevo

I'm gonna accept the PR, if you have an example later on, post it here and I'll work on a migration

corevo avatar Mar 12 '18 13:03 corevo