how do we enable Send by Email function in HP ALM 11.0? - hp-quality-center

I am attempting to decipher how I can enable the "Send by Email button in the defects section of HP ALM 11.0. We have three environments, Production, Certification, and Test/Development. PROD and CERT have this disabled, but it is enabled in Test/DEV. It appears that my company's vendor support did this last year during our upgrade. Thus none of my team knows where to look, and information found on HP's support site is cryptic at best. Any assistance would be greatly appreciated. Thank you.

We discovered the answer to this question. Here it is:
Note: These steps can only be performed by a project admin
Log into HP ALM Quality Center v 11.0
Select and access the intended project
Select the "Defects" tab is the left-hand column
Click the "Tools" drop-down
Select "Customize" to access the Project Customization screen
Select "Workflow" from the list
Click "Script Editor" to open the Scrips Editor screen
Make sure "Common Script" is selected
Search for and disable the following code in the common script:
If InStr(ActionName, "act-SendbyEmail") > 0 Or _
ActionName = "act_followup" Or _
InStr(ActionName, "act_mail_tests") > 0 Then
MsgBox "This function is currently disabeled."
ActionCanExecute = False
End If
Save the script and exit the Script Editor
This should do the trick. Good luck.

Related

How do I get the BAM Add-Ons in BizTalk 2016/Excel 2016

I want to create a BAM activity/view. I have Office 32-bit. Do I need to open some specific BAM spreadsheet/model first?
This page shows how it works in Excel 2007: https://msdn.microsoft.com/en-us/library/aa559526(v=bts.20).aspx But I haven't found anything for more recent versions.
If I open a new empty spreadsheet, and click Add-Ins, I see nothing but the following:
If I right click "Add-Ins" and select "Customize Quick Access Toolbar", I then see this screen - which looks like probably what I need, but still don't know the exact procedure to add the BAM Adds here.
It might be wiser to find and edit the file outside of Excel first: The add-in file is: "c:\Program Files\Microsoft Office\Office16\Library\Bam.xla"
I clicked on "Business Activity Monitoring" - then what should I do next to get the menus needed to add the BAM Activity.
Looks like you click the "Go" button to the right of "Manage Excel Add-Ins".
Then the following box pops-up, and I can check "Business Activity Monitoring" and then "Ok".
If it doesn't appear there, you can click the "Browse" button, go to the ""c:\Program Files\Microsoft Office\Office16\Library" folder and select "Bam.xla".
If you are in Excel 64-bit, instead of 32-bit, you will get this error:
But so far, after doing that, I still don't see any new "BAM" menu in Excel.
I was seeing error:
Compile error: The code in this project must be updated for use on
64-bit systems. Please review and update Declare statements and then
mark them with the PtrSafe attribute.
If you get that, it means you are probably on 64-bit, not 32-bit version of Excel. I was told by another team they installed 32-bit, but low and behold, they did not. You can check the version using the following steps:
1) File (menu)
2) (click) Account
3) Click the square (almost doesn't look like a button that says "? About Excel"
After getting the 32-bit, it looks okay, the BAM menu appears as follows (under the "Add-Ins" tab:
If you click the "BAM Activity" and get the error "Variable not defined", then see this link: https://oussov.wordpress.com/2013/01/03/bam-xla-variable-not-defined-error-in-excel/

How to type text on text fields and click on a button using AutoIt

I have a JNLP file (say Test.jnlp). I have opened that file using AutoIt. My code for opening Test.jnlp file:
$d = "D:\Ripon\"
$f = "Test.jnlp"
Run("cmd /c " & " """ & $d & $f & """ ", "", #SW_HIDE)
After opening .jnlp file a Login screen comes. My requirement is to type Username and Password -> Click Login button.
As I couldn't find the identity of elements (text fields, button) I failed to do that. Please help me.
There are a few types of GUI that don't give you ids for controls, almost all Java toolkits are an example of that.
There are several methods of automating them still:
Assuming the window is always the same size (which is often a pretty safe assumption to make) then AutoIt will allow you to click the window at a given position, or send text just to that window. For example in the above case you could try the following code:
ControlSend("Window Title", "", "", "MyUsername{TAB}MyPassword{ENTER}")
Another solution is using accessibility features. If you google 'autoit java accessibility bridge' I'm sure you'll get some results like this one. I've never tried this personally.
There is also a java access bridge no idea how this works either, but other people have been using it for a while.
As a last resort, you have to mimic user mouse and keyboard actions. This really isn't the best solution but at least you can be very sure it will work.
The following snippet of code should work:
Send("username")
Send("{TAB}")
Send("password")
Send("{ENTER}")

Word wrapping in PyCharm Python Console?

Anybody here who knows, if and how I could enable word wrap in the Python console for long lines? I can't see them as a whole, I have always to scroll the window to the righit, to get all informations. I have only 5 Buttons offered: rerun, stop, close, execute current statement, help.
(in contrast to this, in Event Log, I see buttons called "Use soft wraps".)
for version 3.4.1:
View -> Active Editor -> Use Soft Wraps
I found the answer here:
File -> Settings -> Editor -> "Virtual Space" group -> Use soft wraps in console
In PyCharm version 2018.3.3 it can be found under
File -> Settings -> Editor -> General -> Console: Use soft wraps in console
In PyCharm version 2021.2.4 on OS X it can be found under
PyCharm -> Preferences -> Editor -> General -> Console
Starting with Pycharm Community Edition 2016.1, the settings mentioned in other answers are gone.
However, with the debug console opened (i.e. run your python script), click the Use Soft Wraps button there, this will also affect the python console, without any restart needed.
For PyCharm version 4.5, soft wrap can be enabled as a global default here:
File > Settings > Editor > General > Soft Wraps > "Use soft wraps in editor"
Community edition its Preferences>Editor>General>Use Soft Wraps in Editor
and then to be super cool you can go Preferences>Editor>General>Console>Use Soft Wraps in Editor
For Pycharm Professional 2016.3.2 on Windows:
Click on the upper half of the Python Console (i.e. the output half, not the input line at the bottom).
On the main menu select Help and Find Action... (shortcut: CTRL + SHIFT + A).
Type "soft" in the "Enter action or option name" search box.
Toggle "Active Editor: Use Soft Wraps" to On.
Run a new command with long output and you should see it soft wrapped in the Python Console. Note, that previous output will not be wrapped.
(None of the above methods worked for the Python Console -- though they did work for the Debug Console and Event Log)
As of 2018 - I found the setting here:
Settings -> Editor -> General -> Console -> Use soft wraps in console:

Tridion UI 2012 - Error "The item tcm:280-29837-64 does not exist."

When we are trying to create a new page through a PageType in Tridion UI.It is throwing below error --
"The item tcm:280-29837-64 does not exist."
Is it the Id of the page which i want to create,as it is no more exists in the tridion?
Could any body help me out in this regard ?
Note :-we defined the pagetype to those pages which already exist and published.
Edit-1 When we click on the 'Create Page' button(see the attached screenshot), above mentioned error Pops up.
In the cd_core.log file below error and warning comes --
ERROR XMLConfigurationReader - Error while validating file 'cd_ambient_conf.xml' with schema 'schemas/cd_ambient_conf.xsd'. cvc-complex-type.2.4.a: Invalid content was found starting with element 'ClaimStoreProvider'. One of '{Cookies}' is expected.
WARN AmbientDataContext - There is no current ambient data context - the ambient data framework is not properly initialised
Edit-2 Now errors related to AmbientDataWork are resolved but we are still getting same issue. There are two options in UI (a) "New Page" (b) Create and insert Content. This error also comes when we go with the option "Create and Insert Content". On each click of "Create Page" or "Create and insert Content" it generate a new Id(XXX-59248 -64 then XXX-59249- 64 etc) for page and same way for component also and throws above mentioned error message.
Note:- We are using IIS 6.
Edit-3 - I am using VB script in my page templates.
If someone is using VB script page template,it is required to install UI_2012.0.0.81248 hotfixes to create new pages in UI 2012.
I was not aware about this so fact of using VB script is not mentioned anywhere in the question .So I am updating my question again to assist community member in right direction.
It "looks like" the creation of the page somehow fails on the CM side (but i'm doing an awful lot of interpretation here based on very limited data...).
Can you verify
1. that you can create pages in the content management explorer in the publication with ID 280
2. that your blueprint context settings for UI 2012 are correct (should the new page/component be created in the publication with ID 280?)
3. that you have no workflow or event system interfering with the creation of the page
I would also expect an event log entry in the Tridion/Tridion Content Manager event log which would contain a detailed stack trace...

Run solution exe after installtion using installshield

I want to run my exe after installation using InstallShield.
InstallShield completes the setup correctly but do not run the exe.
I found another way to add an exe in startup but it runs after restart.
I would like it to run without restart.
Is it possible ?
What version and edition of InstallShield are you using? Also what project type are you using? (InstallScript, InstallScript MSI, Basic MSI? )
Assuming Basic MSI, InstallShield has a built-in pattern to support this story:
1) Click on the Project Assistant Tab
2) Click on the Installation Interview Icon (Page)
3) Click Yes for "Do you want to give the users the option to launch your application when the installation completes?
4) Click the browse button to select the EXE that should be the target of the operation.
By default the checkbox (launch program) on the setup complete dialog will not be selected. To select it automatically add the property LAUNCHPROGRAM to the property table and set it to a value of '1'.
Christopher Painter's answer will work for you most of the time. Those are the initial steps to take, but there are some additional details if you find that isn't enough. For instance, skb reported that this didn't work for him. I found that I was in the same boat (even though I've built a dozen other installers which had this work!).
Follow Christopher Painter's instructions.
Click on the "Installation Designer" tab. Within "User Interface" select "Dialogs".
Within "All Dialogs", expand "SetupCompleteSuccess", and select "Behavior".
Select the "Ok" push button control. Then, select "Events". (look to the bottom of the screen where it says Events/Subscriptions/Conditions)
You should have a "DoAction" event, with an "argument" equal to "IS_LAUNCH_MY_PROGRAM_PLEASE" and a "condition" of "LAUNCHPROGRAM". If not - add that. "LAUNCHPROGRAM" refers to the property of that name. It will have a value of 1 if the launch checkbox is selected, and thus meet this condition. IS_LAUNCH_MY_PROGRAM_PLEASE refers to the Custom Action which is launched. If you want, you can change that CA here to make any custom action fire instead. I opted to leave this alone, but replace the CA with one of my own.
Open your list of Custom Actions (Behavior and logic... Custom actions and sequences). You should find a CA there named IS_LAUNCH_MY_PROGRAM_PLEASE. Delete it!
Add your own IS_LAUNCH_MY_PROGRAM_PLEASE CA. Right-click "Custom Action" (the list header) and select the type of CA you want - or launch the wizard. Just be sure to name it "IS_LAUNCH_MY_PROGRAM_PLEASE" if you left the dialog behavior as it defaults.
To launch an exe - with the WORKING DIRECTORY changed (which was the reason my app wouldn't appear, and apparently skb's as well based on the comments) Select "New EXE"..."Path referencing a directory". Change "Return processing" to "Asynchronous (no wait for completion)". Note the "MSI type number" becomes 226. Set the "Working directory" to INSTALLDIR(assuming the program you want to launch should be found in your new program's directory). Set "Filename & command line" to [INSTALLDIR]YourApp.exe.

Resources