Need to Migrate QC ALM to Rally (including all existing folder structure and test steps) - ui-automation

We are trying to migrate QC ALM to Rally. But the problem is, need to move entire existing folder structure and all test cases to Rally. I have seen in Rally help is possible by setting and running config file.
https://help.rallydev.com/QC-config-test-steps-02.pxml
I am not aware of how to run this config file as I am very new to ALM. If you know any simple way, please share.

This is probably a larger project than we can help you with here. I'd suggest reaching out to Rally support for some help with this connector.

We are successfully able to migrate the data from QC ALM to Rally via rest API.
Implemented a java script which will call the HTTP QC rest call to extract the folder names and test steps. After that using selenium we are able to create the same folder structure in rally and imported test steps...
QC GET API Calls to extract data:-
Folder Names:-
http:///qcbin/rest/domains//projects/Project/test-folders?query={parent-id[]}
Test steps:-
http:///qcbin/rest/domains//projects/Project/test-sets?query={id[]}

Related

Does OWASP dependency check worked on salesforce Apex class files(*.cls)

I am first time using OSASP Dependency check using Azure devops. Here this check is not scanning my apex class files and xml metadata files. So I wanna confirm is it scan those or not and what type of file it scan for salesforce projects?
I tried to search from owsap officially site but from where it is not cleared.
From what I understand are APEX files Zipped Library which can contain Jar Files, I think it makes more sense to scan the pipeline which actually contains the code of the Apex Files.

Use Artifactory Rest API to get most recent (non-maven) file

I'm trying to use the Artifactory Rest API to retrieve the latest published version of a file. The file in question is a simple zip of a bunch of YAML files used for configuration. I can upload and download these files in TeamCity using File Specs, however I can't find any reference of this functionality in the Rest API docs (or indeed, any way to do almost anything that isn't an action on a maven repository)
As you are already using the file specs, you can make use of the same file spec and use the Artifactory query language (AQL) to get the list of files. You can refer to example 2 here in this list.
You can define and use a custom Repository Layout. This way, in order to download the latest version of the file, you can use the [RELEASE] placeholder. The actual latest version will be automatically resolved by the extracted version value based on the layout.
See also:
How to create simple versioning custom layout in Artifactory
How to find the latest artifact version based on layout?

How do I generate a pubxml file for Azure App Service like the Visual Studio 2015 UI?

I have a simple web application in Visual Studio 2015.
With the Azure SDK installed, when I right-click the project and select Publish, I get a UI that allows me to select Microsoft Azure App Service as a publish target.
If I sign in and walk through the wizard, I ultimately end up with .pubxml and .pubxml.user files in my project that have the user names passwords, deployment endpoint, etc. that I need.
I am looking for a way to do this from the command line (ideally with PowerShell cmdlets for Azure, but calls to MSDeploy.exe or MSBuild.exe would be just fine).
Msbuild(Msdeploy) does not have related argument to create .pubxml and .pubxml.user, if want to use command line to achieve, you need to create a custom task, which create the xml by using code (C# or other). And you need to know the xml structure and related content.
About custom task, please refer to:https://blogs.msdn.microsoft.com/msbuild/2006/01/21/how-to-implementing-custom-tasks-part-i/
About create xml via c#, please refer to:https://msdn.microsoft.com/en-us/library/ff604982.aspx

Is it possible to xcopy deploy the Microsoft ReportViewer web control?

I'm trying to setup Microsoft reporting on a shared hosted server. I've set up the web.config files with the necessary entries and uploaded the assemblies Microsoft.ReportViewer.Common.dll and Microsoft.ReportViewer.WebForms.dll as well as the file Microsoft.ReportViewer.xml via FTP.
The site loads OK, but when I try to load a report a get a missing reference to Microsoft.ReportViewer.ProcessingObjectModel.dll. If I can get a hold of a copy of this dll, can I expect the report view to work? If so, what's the best way to get a copy? Or should I start trying to cajole the server administrator to run ReportViewer.exe?
This project is using Visual Studio 2008.
It appears that the answer is yes. I had never extracted a file from the GAC before, but it was pretty easy by following the command line method described in this question. Once the correct version of Microsoft.ReportViewer.ProcessingObjectModel.dll was extracted from the GAC on my development machine and uploaded to the site, the reports started working.

TFS 2010: run powershell script stored in source control

We've started using TFS2010 over at the company I work at. We create e-commerce web applications (shopping sites). I'm creating a custom template to deploy web projects after a build using a build template.
I've looked at the web deploy tool, but MSDN seems to indicate that it can only do initial deployments, and I need to be able to do incremental deployments with the same script.
I'm thinking of using the invokeActivity activity in the template to use powershell to do the job by specifying an FTP script which automatically copies the output of a build to a designated FTP site and then runs the SQL (upgrade) scripts, if needed by using SSH or s powershell remoting interactive session. (possibly specified in a separate SQL script)
There is some unknown for me which I can't get clear through the use of google:
When queuing a build, will I be able to let the user specify a script present in source control ( e.g. $(source)\scripts\ftpscript.ps1 ) as the script which is to be used? Will powershell be able to access/use that file? or should I copy it to the build directory and specify when I run it? (I don't know how to set up the template to get files from source control, so a pointer to some helpful info how to do that would be very much appreciated)
If the previous just doesn't work at all, could I create a folder \scripts\ in my website project, commit that to source control and then use BuildDetail.DropLocationRoot & "\scripts\" as the location for the script and fore a copy of the script files by enabling the force copy option?
To run a PowerShell script I think you can use the InvokeProcess activity which would trigger something like this:
%windir%\system32\windowspowershell\v1.0\powershell.exe "$(SolutionRoot)\test.ps1
And yes, you can reach a script file present in source control using the "SourcesDirectory" keyword.