| || |
Suggestions to grab dynamic content
I have some basics down about QTP but by no means an expert. Can someone give pointers about how to capture the dollar amounts which are to the far right corner of the screen shot. QTP does not recognize them and if I manually add them to OR then it adds it as a web-element with the inner text property which is dynamic based on what you chose in the drop-down list. The set of dollar amount objects occur once for primary coverages but can occur multiple times for as many vehicles that have been added so that is dynamic as well. From the screen shot you'll notice that I have a section called Primary Coverages and that occurs once but below that there is a section for Toyota Camry and my second vehicle, BMW but I can have more than 2 vehicles and I need to capture those dollar amounts for all vehicles. What would be a way for me to first identify those dollar amounts and then iterate over to grab for all the vehicles.
Any suggestions would be appreciated.
Re: Suggestions to grab dynamic content
See if the WebElement is inside a WebTable or not and it is then go through the QTP FAQ post, Section 7 Working with WebTables