Discussion

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.

Ask the Expert Rules

  • 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!

Group Tags

Comments

Keep up to date on this post and subscribe to comments

September 16, 2019 - 5:51pm

Is there a way to delegate the create operator to user? 

Pega
September 17, 2019 - 1:39am
Response to PraveenVeera

Hi

Can you please elaborate on what you mean by delegate create operator.?

 

September 17, 2019 - 9:28am

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

Pega
September 18, 2019 - 4:39am
Response to SvetlanaC

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.

 

September 18, 2019 - 10:46am
Response to NAQUS

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

Pega
September 19, 2019 - 2:20am
Response to SvetlanaC

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.

September 17, 2019 - 4:49pm

Hi,

Is it possible to disable a Print Screen and copy of text on Pega?

Thanks!

Pega
September 19, 2019 - 1:40am
Response to AlejandroA8754

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. 

September 18, 2019 - 2:30am

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.

 

Pega
September 18, 2019 - 8:07am
Response to santro

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.?

September 18, 2019 - 8:24am
Response to NAQUS

HI shahi,

thanks for replying , i have checked the value of Pega-RULES pzPegaSUT

it's already set to true. please find below.

Pega
September 18, 2019 - 8:43am
Response to santro

Can you please let me know which version of Pega are you on.?

 

September 18, 2019 - 9:40am
Response to NAQUS

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)

Pega
September 19, 2019 - 1:32am
Response to santro

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. 

September 19, 2019 - 1:11am
Response to NAQUS

Hi NAQUS

to give you more info. on errors i have attached screen shots. please suggest how to resolve.

Pega
September 19, 2019 - 1:35am
Response to santro

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?

September 19, 2019 - 3:21am
Response to NAQUS

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.

September 20, 2019 - 5:02am
Response to NAQUS

Hi NAQUS,

any suggestion please.

Pega
September 20, 2019 - 5:16am
Response to santro

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.

September 18, 2019 - 8:57pm

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)?

Pega
September 19, 2019 - 1:38am
Response to krishnamohanP8156

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.

Pega
September 19, 2019 - 11:00am

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?

Pega
September 20, 2019 - 5:54am
Response to lachc

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.

September 23, 2019 - 2:58am

Pega
September 23, 2019 - 5:18am

Here's a help article on how to create scenario tests, run scenario tests and edit them

https://community1.pega.com/community/pega-support/question/scenario-testing-how-create-run-edit-test-cases

 

-Shahi Naquash 

Mod
September 23, 2019 - 5:22am

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!

Lochana | Community Moderator | Pegasystems Inc.