Forum Discussion
Yes, After Restarting Test complete , it works
Thanks for the code
But i cannot find "Default Settings" in witem array
- TanyaYatskovska10 years ago
Alumni
Do you see this item on the screen when executing the test?
- hc_vinod10 years agoOccasional Contributor
Yes I can see the element "Default Settings" when code is executed
to brief you more
See attached Screenshot
There are two tabs in my screen (snapshots and Presets) , both are not gettings identified by test complete
selecting "Snapshots" tab in the page and execting the above codewill give all the items under snapshots namely "Abcd, ...Snapshot #1..."
But even after exceuting the same code after selecting "Presets" tab , still i will get items listed under "snapshots" tab instead of getting elements under preset tab
- TanyaYatskovska10 years ago
Alumni
Hi hc_vinod,
It makes sense to update the object tree when switching between tabs. You can do the Refresh method for this. For example:
Set win = 'get the window containing tabs Call Win.obj.obj….ClickTab("Presets") win.RefreshDoes it work for you?