How to read values from a web page
I am presently working on a project which requires the contents of a webpage to be read and validated (based on a calculation). If the values are correct, then the test is passed.
Now the question is how to automated this using Robot?
How to trap the contents of a particular area of webpage and then validate.
Re: How to read values from a web page
Where are the contents displayed? If they are displayed inside a text box , then you can use SQAGetProperty on the text box and get the text property. If the contents are displayed in an HTML table cell, then one can search for a particular HTML Table cell :
Result = SQAFindObject("Type=HTMLTable;Index=20;\;Type=HTML TableCell;HTMLText=" + expected contents)