Posted: 9 Sep 2019 7:49 EDT 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!
Meet Shahi: Shahi is a Product Owner for Pega UI and has been with Pega for 7 years. He has hands-on experience on building Demos and Implementations. He has been handling the controls area of UI for the last 5 years.
Message from Shahi: Hello, I would like to answer your question related to localization, RTE and Scenario Testing especially about any issues related to it and I would be happy to help you get a better understanding of it.
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
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.
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.
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.
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.
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)?
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.
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.