Testing Package Compatibility

<< Click to Display Table of Contents >>

RayQC Advanced > 7.3 u4 > User Guide > Automation > Command Line Interface 

Testing Package Compatibility

Importing software packages into the library is triggered by the -import switch. This can also be used to test web applications.

Sample Command Structure

RayQCAdCmd.exe 

-test = <c|r|v|w|a|l|q> 

-source = <sourceFile>

[-target = <targetFile>] 

-report = <path_to_report>

[-reportFormat = <XML|PDF|DOCX|DOC|HTML|XPS>]

[-ruleSet = <ruleSet>]

[-rule = <rule>]

[-rayflow = <rayflow_configuration>]

[-saveindb = <Yes|No>]

[-reportname = <reportname>]

[-fix = <default|power|light>]

[-showMstDir = <Yes|No>]

[-overwrite = <Yes|No>]

[-MaxDepth = <number>]

[-MaxCrawlcount = <number>]

 

Example for the test of a web application:

 

RayQCAdCmd.exe -test w -source "http://www.raynet.de" -MaxCrawlCount 10 -MaxDepth 3 

-report c:\Test\Test.pdf

 

This will test a web application raynet.de using the specified settings and will output a report as .pdf  to c:\Test\Test.pdf

 

Parameters

Parameter

Mandatory

Description

-test

Y

Specifies the test areas which will be performed

Options:
c - Collision

r - Readiness

v - Virtualization

w - Web Application

a - App-V

l - Citrix-AppLayering

q - Checklist

-source

 

Y

Specifies the path to the .msi file that has to be tested.

Testing more than one package may be performed by adding the path to further files with separation by semicolon (;):

C:\file1.msi;C:\file2.msi;C:\file3.msi

-target

N

(Y for test type c)

Specifies the path to the files that will be used to perform collision tests against.

Testing against more than one package may be performed by adding the path to further files with separation by semicolon (;):

C:\file1.msi;C:\file2.msi;C:\file3.msi

-report

Y

Specifies the path to the result report file or folder where reports will be generated.

-reportFormat 

Y

Controls the format of the report output file.
 
Options:

XML

PDF

DOCX

DOC

HTML

XPS

-ruleSet

Y/N (either -ruleSet or -rule has to be used)

The names of the rule sets that will be applied during testing.

Applying more than one rule set is possible by separating rule set names by semicolon (;).

-rule

Y/N (either -ruleSet or -rule has to be used)

The names of the rules that will be applied during testing.

Applying more than one rule is possible by separating rule names by semicolon (;).

-rayflow

N

Specifies required parameters to connect to a RayFlow server for test result uploading.

The parameters have to be separated by semicolon (;) and specified in the following order:

<RayFlowServiceUrl>;

<RayFlowServiceUser>;

<RayFlowServicePassword>;

<UserName>;

<ProjectID>;

<PackageID>

-SaveinDb

N

Specifies whether the report will be saved in the database.

-reportname

N

Specifies the report name. If the value is omitted, the name of the report will be generated automatically.

-fix

N

Specifies fix type which will be performed.

-showMstDir

N

Specifies whether paths to folders with generated .mst files will be shown.

-overwrite

N

Allows overwrite if the file exists.

-maxdepth

N

Specifies the maximum depth which a search engine indexes pages within a website. First level means the starting page. Next level is all pages linked from pages in previous level (0=not limited).

-maxcrawlcount

N

Specifies the maximum number of pages to crawl (0 = not limited).