I have been creating automated scripts for a web application using rational robot.We just decided to use Visual source safe to manage the project within the team effectively.Can anobody provide me with resources/ suggestions as to how I can go about it.
How do I put the scripts that I have created for the application in VSS?From my understanding, it will not work if I just put the scripts in VSS, I need include VP and all the other stuff..I would appreciate it if I can get detiled information regarding that..I have'nt used vss before and I am relatively new to rational robot.
nobody in my team is familiar with this...I thought I could get some help here..
I created a project in vss and pointed the working directory to the main folder where I have my scripts which has the Testdata,TestDatastore and TestUsersandGroups folders.When I try to add files, do I have to add each individual file in every folder to the project..I am really not sure about what I need to do next..Any suggestions/ideas please??
Robot is not very Source Control friendly. In other words unless you use the ClearQuest plug in that was designed specifically for Robot you won't be able to use Source Control in a "normal" method.
The only files you should need to control are the .rec, .sbh and .sbl files. Everything else is extra junk that Robot uses to manage it's internal database.
You mention controlling VPs. I can not comment on how to control those, since I am vehemently opposed to using (most) of the built in VPs that create so much junk in the directory structure. This is one of the reasons why (apart from them not being very useful if you have some coding skills yourself).
Thanks all for your suggestions, but this what is going on now...I created a project in VSS and mapped it to the project on my local machine and moved the entire project under VSS including all the folders and subfolders created for the project by robot.When I open a script in robot it opens read only copy of the script.But when I do a check out of the .rec and rtxml versions of the script it is no longer read only.After checking out the 2 file versions of the script, when I try to run the script in rational robot, I am getting the following error:"Cannot Create Output File. It may be in use by another user."
Again, RR is not source control friendly. There are a lot of different files in the directory structure that get open read from and written to when a user simply uses RR. Most of all that other "garbage" is database files that RR internally uses.
The only files that you need to be worried about are the ones that you control (.rec, .sbl and .sbh). All the other files are created by and used by Robot internally while you are using the tool.
You will (most likely) not be able to use VSS as your source control the way you are wanting to use it. If you search the forums you will see that this type of question has been asked for years. The only source control that really works the way you want it to is ClearQuest (or is that ClearCase?). Coincidentally it is also an IBM/Rational product... Get where I am going. The internal Robot structure is such a mess of spaghetti that it took them years to provide source control support for Robot users and limited only to their own tool since there is so much junk that needs to be done.