How to retrieve dynamic webelement text ?
Case detail: Test steps:
2.Enter Lasix,Benadryl and Atenolol one by one
3.click on Check Interactions buttom
I want to retrieve dynamic text between green title "Interactions between your selected drugs" and "Interactions between your selected drugs and food", but only want to get BOLD Text+( ).
Another word, in this page, I want to get
" Atenolol and Lasix (furosemide) (Moderate Drug-Drug)"
"Atenolol and Benadryl (diphenhydrAMINE) (Moderate Drug-Drug)"
and " Lasix (furosemide) and Benadryl (diphenhydrAMINE) (Moderate Drug-Drug)"
Can anybody help me on this? thanks
Re: How to retrieve dynamic webelement text ?
I did a quick test on the site you sent at lunch.
Once the results are displayed, Just use a Standard Checkpoint on each heading.
It doesn't matter what order they display on the webpage.
Also I'd seriously run this test from a datatable (spreadsheet) as this would allow you to easily create and check a vast amount of data in a short amount of time.
The site seems ideally suited to it.