Discussion
Pegasystems Inc.
IN
Last activity: 24 Mar 2020 10:06 EDT
Ask the Expert - Localization, RTE & Scenario Testing with Shahi Naquash
Join Shahi Naquash (@NAQUS) in this Ask the Expert session (16-20 September) on Localization, RTE and Scenario Testing!
- Follow the Pega Support Community's Community Rules of Engagement
- This is not a Live Chat - Shahi will reply to your questions over the course of the week (16-20 September)
- Questions should be clearly and succinctly expressed
- Questions should be of interest to many others in the audience
- Have fun!
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Centene Corporation
US
Is there a way to delegate the create operator to user?
Pegasystems Inc.
IN
Hi
Can you please elaborate on what you mean by delegate create operator.?
CIBC
CA
Hi Shahi, I placed image in the layout and made all possible settings = 0 in order the image to stretch for the whole width and height of the layout. I am still getting padding 10px from .layout-body which I can see only from Developer Tools. I can overwrite it in css, but it affects all layouts in the application. Any idea how to stretch image for the whole width and height of the layout? Please see attachment. I need to remove space on top and on left of blue. Thank you
Pegasystems Inc.
IN
Hi Svetlana
You can try adding a class on the layout in which you are referring to the image. This will add that attribute to the dynamic layout class and will make it unique. You can now add your custom CSS on top of it.
CIBC
CA
Hi Shahi, i created class and placed in it the skin under Additional style sheets, added
body .layout-body {
padding: 0px !important;
}
entered this class name in the layout in Custom CSS class
and still all layouts everywhere else are affected.
Please suggest what else should i change.
Thank you
Pegasystems Inc.
IN
Hi Svetlana,
You need to give a unique name in the custom CSS class at the design time that is not used in other layouts and use this in the CSS. Can you please share the design time and the CSS file screenshots.?
Or you can try another method where you can give "padding-0" in the content CSS class. This class is supported by default in the Pega Skin.
Turner Broadcasting System Inc
AR
Hi,
Is it possible to disable a Print Screen and copy of text on Pega?
Thanks!
Pegasystems Inc.
IN
Hi Alejandro
Pega out of the box doesn't have the capability to prevent copy-paste or print screen. You can try using some custom javascript (i have never been successful in preventing the print screen with javascript though) or some IRM (Information Rights Management) tools available in the market which can prevent this.
Infosys Ltd
IN
hi shahi,
i am trying to create automated scenario test case for my form. facing multiple issues.
1)i have a check box field "certifications" which has 3 options, i am checking one check box(selecting CSA) in the form. in the right side recording pane instead of one select and verify steps i am getting 2 verify steps(please find attachment csa.png) because of which test case is failing.
2)for DU field i have entered value "DPA" but while running the test case it's taking base location field's value. please find attachments FieldValues.png & DU.png , in the right side pane it's showing red dot and test case failing.
3) for passport field i have entered pp1234 but while running it's taking the value of DM mail id (please find FieldValues.png & DM mail id.png)
4)for passport issued date i have entered 9/2/2019 but while running it's taking 9/30/2019 which is the value of the passport exp. date (please find FieldValues.png & passport exp date.png) and getting red dot in the right side pane.
so while running one field is taking other field's value and test case is failing.
Please help how to resolve these issues.
Thanks in advance.
Pegasystems Inc.
IN
Hi Santro
Can you please check if the dynamic system setting "Pega-RULES pzPegaSUT" is set to true. If not, can you please set it and check once.?
Infosys Ltd
IN
HI shahi,
thanks for replying , i have checked the value of Pega-RULES pzPegaSUT
it's already set to true. please find below.
Pegasystems Inc.
IN
Can you please let me know which version of Pega are you on.?
Infosys Ltd
IN
Shahi , it's Pega Infinity 8.1.2
(please reply asap, i am doing a POC on pega 8 automation testing and need to show some progress by tomorrow)
Pegasystems Inc.
IN
Hi Santro
I have been trying to replicate the issue on my end and I am unable to replicate it. I would need to look at the issue to debug it. I am not sure if I can help you in such a short span.
Also, I would request you to raise an SR so that I can work with my team on it.
Pegasystems Inc.
IN
Can you please try to re-record the test case? As per the screenshots, I see that the expected value is null. Are you using any Data transforms to prepopulate the values?
Infosys Ltd
IN
Hi NAQUS,
I have tried re recording steps many times , but the result is same.
i have four data transforms in the application , but the fields which are getting errors (Base Location , DM mail id , passport no & passport exp date) are not mentioned / initialized from data transforms. Please find the attached screenshots.
Pegasystems Inc.
IN
Hi Santro
I could not recreate the scenario with the details in the screenshots. I was able to record and run the test case. I am not sure what exactly is the error that is causing the test case execution wrongly. Can you please raise an SR with reproducible steps and version and few other details which can be helpful is unblocking you asap.
TechM
IN
Hi,
We are using Pega 8 version. We need to change the Local (En| other lang) from the Portal. Every UI screen will have an option (EN| other Lang). When user click on English, display should be in English. When user selects Other Langauge (for eg: Indonesia), contents should be displayed in Indonesiain language. How can we implement this?
Is this same as switching application in pega (2 application each with specific Localization ruleset and locale)?
Pegasystems Inc.
IN
Hi Krishna
You can use the out of the box activity "UpdateLocaleSettings" with appropriate locale as a parameter and reload the harness which will then display the UI in the locale selected. You need to have the language packs for all the languages you want to support for your applications before doing that.
Pegasystems Inc.
US
Hi Shahi, what are some of the common pitfalls / visual UI challenges you see when an app has been localized / internationalized? How do you typically handle them?
Pegasystems Inc.
IN
Hi Chris,
When we localize an application, Pega's localization wizard handles most of the things for you, be it generating the translation bundle or be it importing the translations for field values but there are certain things which the wizard doesn't do and you have to manually perform to localize the application, like a paragraph, correspondence, and correspondence fragments translations are not imported by default.Most of the times, users think that these are also taken care of by the wizard.
When an operator's locale is changed, the numbers in your Pega application are shown in the locale-specific fonts. And many a time we have a user coming back to us asking not to show the numbers in the locale font which cannot happen as this is handled by the browser.
Another common pitfall is while localizing an application into languages which have the non-latin script or multibyte characters scripts, the users will see "????" instead of the actual word. In order to support the multibyte characters, your DB needs to support the UTF-8 encoding and this has to be specifically set for databases like Oracle.
These are some of the challenges that I could think of.
Pegasystems Inc.
IN
Here's a help article on how to create scenario tests, run scenario tests and edit them
https://collaborate.pega.com/discussion/scenario-testing-how-create-run-edit-test-cases
-Shahi Naquash
Pegasystems Inc.
IN
Thank you for the great discussions! Please continue asking your questions related to Localization, RTE and Scenario Testing by writing new posts.
Thank you Shahi for being an awesome expert this session!