Establishing an XML config file to connect to ALM

Source: Internet
Author: User

I will not post all the, if anyone want all the source code and applications, can be secret I

Here I post how to automatically build a almconfig XML file when I run it for the first time

Private Static voidCreatealmconfigfile () {almconnect AC1=NewAlmconnect (); Ac1. URL=Properties.Resources.ALM_SERVER_URL; Ac1. Id=Properties.Resources.USERNAME; Ac1. PWD=Properties.Resources.PASSWORD; Ac1. Domain=Properties.Resources.ALM_DOMAIN; Ac1. Project=Properties.Resources.ALM_PROJECT; Ac1. Testsetinfo=NewTestsetdata (); Ac1. Testsetinfo.folderpath=@"root\smoketests\productandpricing"; Ac1. Testsetinfo.testsetname= DateTime.Now.ToString ("dd-mmm-yyyy HHmm") +"Trialrun"; Ac1. Testsetinfo.status="Open"; Ac1. Testsetinfo.attachment=@"C:\ATResult\Attachment\Report.txt"; Console.WriteLine ("Created:"+config_file_name); Console.WriteLine ("-=-AML Config-=-"); Console.WriteLine ("ALM URL:"+AC1.            URL); Console.WriteLine ("ALM Domain:"+AC1.            Domain); Console.WriteLine ("ALM Project:"+AC1.            Project); stringXmlText = XMLUtils.XMLUtils.SerializedToXML (typeof(Almconnect), AC1); System.IO.File.WriteAllText (@ABPATH+Config_file_name, XmlText); }

Establishing an XML config file to connect to ALM

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.