Forum Discussion

gregory_hargrov's avatar
gregory_hargrov
New Contributor
9 years ago

How do I pull data from the DOM to use in database verification?

Our company has developed a healthcare web application.  One of the functions is to refill medications.  In order to verify that the medications displayed on the page match the medications in the database, I need to query SQL.  In order to match meds to a patient, the query requires the patientid.  The only place I can see to pull this from (without hard-coding) is from the DOM.  On the page request, the patientid is used (see attached screen shot, highlighted text).  I need to pull this id so that I can query the database and run verification.

 

Does anybody have a good way to pull this from the DOM?  Telerik Test Studio was able to do this with little problem, so i am assuming that TestComplete can do the same.  The online documentation did not help much.

 

Any help would be appreciated!!!

 

Thanks!

3 Replies