How to read content from the webpage (chrome)
Hi, I am automating desktop application in which I want to print one of my application UI that opens in a chrome browser and have to get the webpage text that needs to copy in an excel file. I am able to launch excel file but not able to copy the webpage content.
I was using Aliases.chrome.wndChrome_WidgetWin_14.Keys("^a^c") but for certian pages, wndChrome_WidgetWin_14 object is undefined.
Please help me out how can I achieve this. Thanks in advance!
Re: How to read content from the webpage (chrome)
There are two possibilities:
1) The mapping you're using for wndChrome_WidgetWin_14 is insufficient to properly identify the object for any and all pages
2) There may be a timing issue where it might take longer than your automation allows for for the component to come up. This would be where you would use a WaitAlias or WaitProperty or something to make sure that you wait for the component before you attempt to act against it.
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider