Hi Isha, have you tried Native method of screen scraping?
Examples of Using Output or Screen Scraping Methods.
Also please see the post from ddpadil on How to scrape or get hidden elements value in uipath - #3 by ddpadil :
“Full text should work unless target element is Citrix/ CMD or terminal applications.
In case CMD/Terminal App Check with Native scraping method .It probably does the job.
Apart from this you have to make sure element is visible to scrape.(make use of hotkeys).”