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
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 :(.
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.