Retrieve HtmlText using coordinates
I am trying to pull HtmlText through x,y coordinates.
Within a table I am trying to make sure that there is data in the first row of a table, other than a dashed values. (I know the x coordinates by using GetRect for the column heading. The y coordinate is constant.) I confirmed that I have the correct location by getting the bitmap of the rect that I want. However I do not want to scroll through hundreds of bitmap files to verify the text.)
The data in the first row will change month-to-month, so I cannot search for a value. SilkTest does not see this as an actual Table class, just HtmlText on a page, so I cannot do it by cell reference
Is there any method that can be used to pull the text by region? I looked through all the get methods and did not see anything. (Or please point me to any similar posts. I could not find any.)
Thanks in advance for any help you may provide.
Re: Retrieve HtmlText using coordinates
One thing is, you can go through the Silktes help for 'ShowBorderlessTable'. Try to identify as a table.
Second is, If you are able to get the RECT of particular portion, you can try to get the text by using PressMouse & Release mouse with combination of SHIFT, CTRL keys.