-
Hi wdi5 experts, Recently I'm writing tests with wdi5. During my tests, I need to set In my test, I want to modulize as much as possible. So I may have an action function called "iClickOkButtonInDialog". For the first time I click the OK button, it doesn't need to set So I have to add a param Another solution is I always set I don't know much detail behind it, and I have no good idea to solve it. Just want to ask you, if you could think more about that, if there's other better solution. Thank you and best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi Cong,
Best regards, |
Beta Was this translation helpful? Give feedback.
Hi Cong,
wdi5
stores references of the controls internally to save runtime. TheforceSelect: true
forceswdi5
to retrieve the control again from the browser context. This is normally only necessary, when your control was destroyed and recreated in the meantime.Is your Dialog maybe destroying itself after
iClickOkButtonInDialog
and recreating when opening again?Best regards,
Simon