Accessing HTML tags directly using QTP
Question ID:
104035
♥ 0 |
Is there a way to Access HTML tags directly using QTP and loop through all the objects on the page?
Marked as spam
|
Answers (1)
Private answer
QuickTest provides direct access to the browser's Document Object Model (DOM) through which you may access the HTML tags directly. Access to the DOM is done using the The test below demonstrates how to iterate over all the tags in the page. The test then outputs the inner-text of the tags (the text contained between the tags) to the report using the Reporter object.
Marked as spam
|