Quantcast
Channel: Silk Test - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 625

How to clear memory cache in WPF application

$
0
0

   Hi All,

We have WPF application and there is scrollbar. We scroll and find the dynamic element(WPFListViewItem)

WPFListView(parent) and WPFListViewItem (child objects)

Using Exists method I scroll till I dont find element and everything works fine as long as scroll is vertically down but after scrolling vertically down I again need to scroll up to find second element I face issue. My code is stuck on below line and does not move forward.

Some time application stops responding and after some time becomes fine.  

        _desktop.WPFListView("//WPFToggleButton[@caption='*']").GetScrollPosition(Orientation.Vertical)

How to handle this?

I think I need to clear memory cache once I scroll down and need to scroll up. 

Any idea how to clear memory cache?

Is this the issue or something else ?

 

Tokci


Viewing all articles
Browse latest Browse all 625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>