Forum Discussion

bistritapcv's avatar
6 years ago

How to Get Text from WebPages and Connect with C#

I am testing a form.  Below is a part of it (without divulging any confidential information).

The two fields (city and state) are located by 

    ["SwingObject"]("HighlightField", "", 3) and 

    ["SwingObject"]("HighlightField", "", 4)


I am fairly certain I have located the elements, and I would like to figure out how to determine the value (i.e, "CHICAGO" and "IL") from the element.  I have tried a few things.  I would like to put these into string variables so I can compare their output to something.


Again, please see attached image.



5 Replies