Skip to Content
avatar image
Former Member

OPA Test: Unable to get the reference of ui5 controls from the nested view in opa test case

Hi All,

I am facing an issue in OPA test case.I'm trying to get the reference of sapui5 controls in my test case for matchers function.

Reference I'm looking is inside the nested view.

When traversing one view to another view based on event trigger , I need to get the reference. I could able to get only through hard coded Ids . For example



However above workaround is going to break the flow in case user traversing from some other views as XMLVIEW id will get change.

---Other options I tried was with the help of title property for matchers functions and all but unfortunately it's not working.

---Tried createId() method in onInit() function call for respective views controller.

Can somebody light on this issue please?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers