Persisting UI Object
Is it possible to persist UI object variables across automation runs?
I have a peculiar scenario:
1. I am invoking TestComplete functions from Java.
2. From Java, I call TestComplete Functions to launch App 1 and App 2.
3. From Java, I call a TestComplete Function to pefrorm certain action on the App 1 UI.
4. From Java, I call a TestComplete Function to pefrorm certain action on the App 2 UI.
5. Now again from Java, I want to call a TestComplete Function to pefrorm certain action on the App 1 UI.
At step 5, the objects recognized during step 3 are no longer valid. So, just wondering if it is possible to persist the UI objects and Arrays created in step 3, and resuse them directly in step 5.
Any suggestions / workarounds please?
Community, thanks a lot for your great suggestion!
my 2 cents...
It's possible to save the data that you will need to use from run to run as a separate file. Refer to the following help article explaining how to work with files from scripts:
Please mark the best answer as a solution.