Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Highlighted
Trusted Contributor.. vikybs Trusted Contributor..
Trusted Contributor..
152 views

How to handle Oracle Forms radio button dynamic numbers in object name

Normally if we add "?records=names" in recording URL of Oracle Forms then every object names are shown instead of numbers. It solves problem for any dropdown or text fields. Eg: 

nca_set_window("Marketing code details");
nca_lov_retrieve_items("Marketing code details", 1, 17);
nca_lov_select_item("Marketing code details", "      TELEVISION");

In above example object name "Marketing code details" is coming as a name rather then a number which is good.

 

Now i have got an issue with a radio button selection for a question in formi.e. 

nca_button_set("LENAPP_NEW_BUILD_INDICATOR_-785583704", 1); // If YES is selected

nca_button_set("LENAPP_NEW_BUILD_INDICATOR_-785583656", 1); // If NO is selected

The number in object name LENAPP_NEW_BUILD_INDICATOR_ changes randomly on every record/replay even if YES is selected again. As per Oracle Forums Builder tool, it is a question with YES & NO radio buttons.

 

Any help would be appreciated

Labels (4)
0 Likes
2 Replies
Lag_Beast
Visitor.

Re: How to handle Oracle Forms radio button dynamic numbers in object name

Hi there,

Experiencing exactly the same issue specifically with Radio buttons. Im really hoping someone has the answer on how to resolve this. 

Out of interest are you also trying to record on Oracle forms 12c ? 

Im using LoadRunner 12.63 and didn't have an issue on the older version of Oracle forms as the radio buttons had specific names

ie: nca_button_set("NAME_NAME_TYPE_INSTITUTION_0; 1); where as on the new forms its nca_button_set("NAME_NAME_TYPE_19993232", 1); for the same radio button. 

Please someone help us :(. 

0 Likes
Trusted Contributor.. vikybs Trusted Contributor..
Trusted Contributor..

Re: How to handle Oracle Forms radio button dynamic numbers in object name

Hi,

That's correct it started appearing when Oracle Forms were upgraded to 12c from 11g.

I enabled full log trace and found that it's nothing related to LR, forms server is giving the Object ID & Object Name but for radio button's a random number is appended at the end. As a workaround, we have used the Object ID but this has to be fixed so I guess we have to back to oracle to get the fix.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.