Hello,
we are currently using PAD 2.30. We have many flow that automate web browsers. We are testing 2.31. so we can update, but there is something with selectors.
We automate SAP web UI, it has two dynamic frames in the selector - frame[Id="WorkAreaFrame1"] and frame[Id="WorkAreaFrame2"].
iframe[Id="CRMApplicationFrame"] iframe[Id="s_300_Z_UTIL_IC_O_1658127403712"] iframe[Id="CRMApplicationFrame"] iframe[Id="FRAME_APPLICATION"] frame[Id="WorkAreaFrame1"] a[Id="C21_W77_V78_V80_V81_V84_ChangeContracts"]iframe[Id="CRMApplicationFrame"] iframe[Id="s_300_Z_UTIL_IC_O_1658127403712"] iframe[Id="CRMApplicationFrame"] iframe[Id="FRAME_APPLICATION"] frame[Id="WorkAreaFrame2"] a[Id="C21_W77_V78_V80_V81_V84_ChangeContracts"]
We solved this problem with two different selectors.
iframe[Id="CRMApplicationFrame"] iframe[Id^="s_300_Z_UTIL_IC_O_"] iframe[Id="CRMApplicationFrame"] iframe[Id="FRAME_APPLICATION"] frame[Id="WorkAreaFrame1"] a[Id$="_ChangeContracts"]
iframe[Id="CRMApplicationFrame"] iframe[Id^="s_300_Z_UTIL_IC_O_"] iframe[Id="CRMApplicationFrame"] iframe[Id="FRAME_APPLICATION"] frame[Id="WorkAreaFrame2"] a[Id$="_ChangeContracts"]
But in version 2.31. we get an error saying we cant use two different frames: Multiple selectors with different frame selectors are not supported.
We cant get around this. If we use frame[Id^="WorkAreaFrame"] or frame[Id*="WorkAreaFrame"], it alway goes into frame 1 and fails if the UI element is in frame 2.
We are pretty much stucked on 2.30. Is there a way to do this?

Report
All responses (
Answers (