Skip to main content

I am capturing an area of a window, but the size of this area varies depending on the webpage I am viewing. I would therefore like to identify a feature on the page and get its coordinates. I will then use these coordinates in the image capture package so I only capture the relevant bit. Can I do this in A360?

Hi @Rob Sytner ,

Before capturing a specific area you can try maximizing the window so that whenever your image capture the window remains the same.


Am maximising, the size of what I want to screen grab changes. I need to be able to feed variables into the screen grab coordinates as these will change.


Hi @Rob Sytner ,

 

Why don’t you go with the Capture action with Custom XPath? 


As far as my knowledge goes, in screen capture action you have to put the coordinates manually if not than it will capture the whole screen.


@Padmakumar  Is that use recorder capture to get the properties i.e. coordinates, height, width of the table I am try to get. Then use them to define my screen capture?


@Padmakumar  Is that use recorder capture to get the properties i.e. coordinates, height, width of the table I am try to get. Then use them to define my screen capture?

 

Not exactly. This is to fetch the elements or objects available on the Webpage. Based on the type of element/object, the property will vary. You can customize Domex path if the webpage is dynamic so that, even though the value changes, your BOT will not fail to detect the element/object. 


@Padmakumar  I have definitely got something to go with now. Many thanks for the advice.


@Padmakumar  I have definitely got something to go with now. Many thanks for the advice.

 

Most welcome.


Reply