Recently active
Hi, I was doing some Python based automation of Testcase management and was able to modify test results using SOAP web service calls. Working sample code is pasted below, all you need to provide is proper credentials and change ids in testcases dictionary in python code as per your setup. The only problem is you have to start test session manually before, so that these soap calls can work. Is there any soap api to start/end test session? Code sample in any language will also help a lot? Thanks, Ashish import requestsimport base64from zeep import Clientfrom zeep.transports import Transport session = requests.Session() username = "<your_ptc_login_name>"password = "<your_ptc_login_passwd>" client = Client('http://<PTC Server IP>:7001/webservices/10/Test/Schema?WSDL', transport=Transport(session=session)) try: session_id = 494547 client = Client('http://<PTC Server IP>:7001/webservices/10/Test/Schema?WSDL', transport=Tr
Hello everyone, Does anyone have a suggestion how to validate if a user is still defined in Active directory? I have a trigger that is used to copy a requirement structure and when the trigger assigns the requirement, if the user is no longer valid in active directory the trigger returns the error "Invalid user". However, using the aa or im commands still returns the user. I try to set users to inactive, which I already check, but apperently missed some along the way. Thank you, Paul
Hello Everyone! I am trying to build a trigger that changes the font size of an Item to H2 everytime the category "Heading" is chosen automatically. My knowledge of javascript is somewhat limited. I've spent a couple of days trying to achieve that, but I am getting errors. Would someone kindly post a simple script of how that can be achieved? That'd be much appreciated! Danilo
Currently we are working on upgrade of MKS Integrity 2009 to PTC Integrity v10.9 in which we have below issue.In web content promotion, We are using COM+ (xxxxx.xxx) service for transferring the files from one web server to another. While configuring the same in test environment for PTC Integrity 10.9 upgrade project, I could see that ‘WCP - Standard Promote’ trigger uses WCP.js for starting the COM+ (xxxxx.xxx) service with help of JCOM.jar and JCOM.dll. For PTC Integrity 10.9 we used MS Windows Server 2012 64 bit as operating system.While executing wcp.js script through trigger, we get following error in WCP.js line 493 “var rm = new Packages.jp.ne.so_net.ga2.no_ji.jcom.ReleaseManager();” . Please advise us how to run 32 bit dll in 64 bit server. Here I have attached WCP.js file for your reference. Could you please help us to fix issue?An error occurred while executing a remote method call; nested exception is: java.lang.UnsatisfiedLinkError: C:\Program Files\MKS\In
Hi, We are using PTC Integrity 10.8.0.8356 In the File ->Preferences -> Configuration Management -> Diff and Merge tools or in "C:\Program Files (x86)\Integrity\IntegrityClient10.8\IntegrityClientSite.rc" I would like to be able to set different tools for different file extensions. Example: - for .txt files I would like to use Beyond Compare - for .eap files I would like to use Lemon Tree - for .doc, .docx files I would like to use DiffDoc etc etc Can someone help ?
Hey, I wanna execute following command every 15 minutes via Task Scheduler (Windows 7 Enterprise SP1): si.exe resync --forceConfirm=yes hostname=*** --port=8893 --user=*** --password=*** --sandbox=D:\Folder\Folder\project.pj It's working fine when using my windows user as user account in Task Scheduler. Cause I wanna have it working even if no user is logged in, I'm using SYSTEM user. Using SYTEM user will cause following error: si.exe: Attempt to launch Integrity Client timed out. To solve this please try the following: - Verify that the user you are logged in as has read and write permissions to the Integrity Client install directory. - Make sure the Integrity Client install directory is the very first entry in the path. Checked the internet and tried a lot: - MAN_CHM_INDEX, MAN_HTM_PATHS, MAN_TXT_INDEX, PATH, ROOTDIR are identically with my windows user. Anyway, created a .bat and use set before the si.exe command.
Hi,i managed to attach an image to the Text Attachment field using the command im editissue --addAttachment=C:\tmp\test.png 123I can add the image to the Text field by right clicking the field and select "Insert -> Image..." and then choose the image from my Text Attachments.But i did not find a way to do the same thing using the CLI.Any hints are appreciated.Best Regards,Michael
In cofiguration management, how to constraint project access for users? Lets say there are 3 parallel project in SCCM. I want: user 1, user 2 access only project 1 user 3, user 4 access only project 2 user 5, user 6 access only project 3 How to achive this functionality?
Hi All, we are trying to achieve better tracability between our Matlab/Simulink model and our requirements and for this we were hoping to use the Modeler's Simulink Synchronizer Tool. We've tried synchronising the Simulink model with our SysML Model in Modeler, but so far we have only achieved to import entire modules and their i/o flows. Is there a way of importing Simulink items below the "Module" level, so that one can see the actual functional model created in Simulink in Modeler? We would then like to be able to link the Simulink blocks (say a certain switch or gain block) with the requirements they satisfy. Can this be done, i.e. importing the functional model? I understand that in SysML there is no equivalent of each an every Simulink block, but I was hoping that the Synchronizer feature would allow to map more than just the module structure from Simulink. As a next step, we would like to synchronize the "linked to" information back into Simuli
Hello, I could not find a path yet to do the following in Modeler: I want to create a table (like a DataDictionaryTable) to show the data content of tags of a certain stereotype that I applied to blocks in a package. For example: Stereotype «PurchasedPart» with the tags Manufacturer and ArticleNumber. I would like to get something like this: SubPackage Blockname Manufacturer ArticleNumber devices Laptop HP 234234234 devices Monitor Samsung sdflkkj-342-23 cables DVI cable HAMA 923464564 cables USB cable benq 234-kj-456 Did you get something like this already running? (With the mentioned DataDictionaryTable I could get the first and the second column, but not further. It did not even show the applied Stereotype «PurchasedPart» in the column with attribute "Applied Stereotypes", but a strange «FlowType» stereotype that is neither shown at right-mouse-click > "Applied Stereotypes" nor in the Properties pane as tab...) For hints
Hello, I try to get some data out of my Modeler SysML model in an Excel sheet. The data is located in tags of specific stereotypes. As shown in How-to-create-table-with-stereotype-tag-data-from-model-elements I found a way via Publisher to get this data into a web browser table. As I tried the Internet Explorer feature right-click > Export to Excel, it just did not work. A look into the source code of this page explained why: It is fully javascript created. The table only exists in the DOM, not as an HTML file. (By the way: If you do the same with web browser tables created from DataDictionaryTables from within Modeler, the result is a proper HTML table (as you can see with "View Sourcecode") and the "Export to Excel" works fine. Unfortunately I did not find a way to get my stereotype tag data into a DataDictionaryTable yet -> see link above.) Does anybody know a path to get this Publisher-created table into Excel (preferably automatable)? Thanks for your efforts Jan
Hi, I need to run the commands "si viewproject" and "si viewprojecthistory" to gather information about checkpoints, labels and members (associated to a specific checkpoint/version of a project) for reporting. The documentation states for both commands: <<Under the CLI the fields are separated with a space.>> This is only partly correct, since "viewprojecthistory" uses <tab> as separator while "viewproject" uses <space> (optional multiple depending on indent). My question: Is there any (CLI-) option available to customize the column/field sparator for the output of these commands? The preferred separator character for me would be <tab>. Integrity-Version (si about): Integrity 11Build: 11.0.0.506API Version: 4.16.506Hotfixes:Copyright (c) 2016 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved. thanx Markus
Admin see Reference and HistoryI have users that are allowed to create Dashboards, queries and reports. They currently must manually track on their own what Dashboards are using what query. The Dashboards, Query and reports do not have the tabs Reference or History on the client screen for displaying the definition. Is there a setting in ACL or some other location where the properties need to be changed?
Hi all, I finally found a way to plot e.g historical trend charts on almost any numeric item field inside a report.It uses the open source JS libraries jquery and http://www.jqplot.com/.All you need to do is download the files an place the on your integrity server (or anywhere else in your network)The recipe attached uses <integrity server installdir>\data\public_html\JS\jquery as installation point for jquery, and<integrity server installdir>\data\public_html\JS\jquery\jqplot for the jqplot plugin.Feel free to change the location according to you needs.The report recipy attached use the given computed expressions of IM to fetch the historical data into a html table, and a bit of JavaScript magic in the browser does the rest.Hope you enjoy it, and feel free to post screenshots of your own reports.I'm curious about our results
After I got the Simulink->Modeler IBD sync running it worked out nicely. I got plenty of items and internal block diagrams (IBD). As long as there are only the Simulink block types Input, Output, and Subsystem involved I get the connection between them (and the flow ports) as they are found in Simulink. Great. But as soon as there is another type of Simulink block involved (like Gain, Sum, you name it) the concept breaks, the connectors in SysML are missing. Ok, they do not have ports defined (such as <P Name="Ports">[1,1]</P>) that you would need to model the (flow) ports, which seems to be the reason for this behavior. But I cannot see a reason why the connector drawing should not work for these other blocks none-the-less. The connectors could be drawn not to SysML (flow) ports but to the block (property) directly instead. In the Simulink model all information is available: which block is connected with which other (from where to where) in the <
Hi all, I'd like to create a "Test Session Details" report that covers the follow content. 1. the sessions meta data (run-date, assigned user, test environment , etc.) 2. the used test case data (Text, Passed/Failed criteria, Category, etc. ) and 2.1 the concrete result (verdict) for this test case in this session #1 and #2 are no problem, but I'm stuck with #2.1. I cannot find a way to filter the results (related to the test case) for the one result (related to this test session) The report run with a single Item selection (namely the Test Session's ID) and looks like this <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <title>&reporttitle</title> <%screenStyleSheet%> <%printerStyleSheet%> <style type="text/css" media="screen"> .embedded_table th {padding: 2px 8px; background-color: #60607A; color: #FFFFFF; font-weight: bold; text-align: center;
During testing I discovered the "MKS Domain" Users and Groups are separate from the "Workflows and Documents" Users and Groups. The getUserBean(LoginID ) method requires the "MKS Domain" User LoginID to work, and using the getEmailAddress() method on the user bean it returns will pass back the email address listed under the "MKS Domain" user email field(I think). However, it appears any field that references a "User" for its value, is a reference to the "Workflows and documents" Users. When any field is pulled using the db.getField Value("") method and returns a user, it returns the "Workflows and documents" "Name" which is not always the same as the "MKS Domain" user loginID. Since these fields are not always the same, you can not reliably use the fields to pull back an email address. And I can find no access or modification methods to use in the triggers for the "Workflows and documents" user and group sections at all. I would like
Hi,I am trying to automate MKS commands using python. Please help me to capture the error message. Example:import subprocessimport timeviewproject_cmd='im issues'proc = subprocess.Popen(viewproject_cmd,stdout=subprocess.PIPE,shell=True)(out, err) = proc.communicate()The above script is throwing me following error, *** MKS124814: Cannot show view information: MKS124808: This command requires operands: item idI am unable to capture the above error in any variable. Also I see this error only if I execute the above python script in the cmd.exe Please help me to handle the above error in python script itself.
If there are 2 PLE licenses available how can it be controlled which users can access those licenses as the default is to take the license so the first 2 users take the licenses unless they specify not to take the license? This prevents the specialist variability Modeling users access the editor licenses. The method in this video uses the Flexlm options file to control who can use these features: There are many other licensing features that the options files can control. For details please see Chapter 5 - The Options File in the Flexlm End user guide this can be downloaded from: https://support.ptc.com/appserver/wcms/standards/fileothumbredirect.jsp?&im_dbkey=168637&icg_dbkey=522
Is there a way to assign a unique prefix to a group of requirements within a document... I have two seperate but related projects, one is a subset of the other... Rather than recreate the subsystem requirements in the primary system, I need a way to identify each requirement by Document... As an example, consider the car an entire system where each component had its own requirements document... so each of the following... braking, fuel, AC, lighting systems all have their own individual requirements. Can I have the following configuration for each systems requirements: Braking --- BRKG - xxxxxxx Fuel --- FUEL - xxxxxxx AC --- AIRC - xxxxxxx Lighting --- LGHT- xxxxxxx Test cases for the car would show traceability to each of the above mentioned systems requirements... In short, how do can I add a prefix to all individual subsystems systems requirement to easily maintain an
I want to create an export template to export all Tests from Test Suite. I allready managed this but the "Test Steps" are only shown as ID (from Test Step Dataset) - BUT we need the "Description Text" of this element. Is there a solution to output the corresponding "Description Text" of the Test Step ID? What do I need to change in the mapping-xml or Word template?
Hello Team,Is distributed file vault system is possible in Integrity 10.8? I got information from PTC document, Integrity 10.8 introduces File Vaulting functionality for Configuration Management files. File Vaulting allows store-by-reference revision contents to be stored on disk rather than in the database. This is useful for customers with a large volume of file contents to keep the overall database storage requirements low. You can use the Migrator tool to move the pre-existing revisions which are marked as reference, from the database to the file vault.Could you please let me know is there any possibility to implement the distributed file vault system and let me know is any additional information require from my side.Regards,Niroj Hota
Afternoon All,I'm currently developing an internal inventory system and i was wanting to pull some information from our PTC Integrity 10.4 installation, more specifically i was wanting to pull/save any files that have been attached to a work item. I'm able to get the the name of the attachment from the getItem request but when ever i try the FetchAttachments i'm getting Content-Type error messages!!Has anybody used the integrity web services that could lend me a handTaMatthew
In SCCM sandbox view window, there are certain fields like member revision, CPID, revision number etc. Is it possible to add more visible fields in that window..If yes please guide me how? What i want to achive is, lets say there is a final tested code in sccm and across that code, i want to attach a "code compliance" (lets say PRQA report) report to it.
I can create a task via CLI but I need to also link these to existing work pakages also via CLI, is it possible to do this.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.