cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle unstable id in fiori app while automating test script with CBTA tool in solman

former_member705049
Discoverer
0 Kudos

Hi,

I am facing issue with changing ids in URI of fiori app and my CBTA script is failing during execution.

Need some suggestions on fixing this issue .

Accepted Solutions (0)

Answers (4)

Answers (4)

ajankowiak
Explorer

Hello,

one question:

Is parameter WD_STABLE_ID_F_TEST dependend on the kind of system? When we set this in SU01 the short description shows "Stabile HTML IDs für Web Dynpro (not for productive)"

In our test system CBTA is able to create stable URIs when this parameter is set. We run SAP portal iviews which calls webdynpros in an SRM ABAP test system.

In our production system it is not able, also object spy creates an unstable default URI.

The only difference between the system is that the client is set to test and in our production system to production.

Thanks!

BR,

Andreas

ajankowiak
Explorer
0 Kudos

Found the answer by myself:

2247962 - No stable ID for CBTA script in Portal Scenario

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Deepika,

Additionally to what Danish has specified in case of unstable ID's you can use Object Spy and spy those elements with unstable IDs and use URI alternatives within the Object Spy. Within the Operator you can choose different operator like Starts, Contains, Ends for some of the Attributes.

Thanks,

Aj

0 Kudos

Hello,

Try to maintain the parameter WD_STABLE_ID_F_TEST with value X to the business user who is trying to record the Fiori script.

Before maintaining this parameter, check if this note 2247962 is valid or not.

Thanks,

Danish