Hello,
Ranorex Support gave us a solution for handling/validating contents of a webelement drop down list using GetInnerHtml.
For many of the combo or listboxes that have few entries, the solution works perfectly.
For some, the returned value of GetInnerHtml is too big that when pasted on Excel cell, the result gets split into two or more cells or rows. This is mainly due to a very long list of items and the value contains many data not needed by your script like:
<option value="Select">Select</option><option value="Option1">Option1</option><option value= and so on.
Do you have a module/function for validating list items in a drop down control list?
Is there an option in GetInnerHtml to exclude those "<option value="Any">Any</option>" to just return the actual values you are interested of getting so that the input data in Excel does not get too big?
When I copied/pasted the value on MS Word, the returned value took up 12 pages, for example, since the list items are in the hundreds. In Excel, it took at least two cells.
Thanks.
Gilbert
GetInnerHtml returning values too big for Excel cell
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: GetInnerHtml returning values too big for Excel cell
Hello Gilbert,
Now that your site has been published and available to the public, lets go ahead and handle this issue via the Support Email channel. Can you please send us an email with the issue below?
Thanks,
Andy
Now that your site has been published and available to the public, lets go ahead and handle this issue via the Support Email channel. Can you please send us an email with the issue below?
Thanks,
Andy