Skip to Content

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

Mar 21, 2017 at 07:40 AM


avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers