Close popover
Chunzhi Hong (Chunzhi_Hong)
Consulting Manager, Pega Consulting
Pegasystems Inc.
Chunzhi_Hong Member since 2013 138 posts
Posted: October 4, 2016
Last activity: October 10, 2016

OpenSpan 7.1 How to automate item selection within a dynamic list of items on web page ?

I need to automate item selection in a list of items on a web page.

The item with matching "template name" should be selected.

The list of items are dynamically generated and each row of item is rendered as html <div> tag instead of <tr> tag inside a <table>.

Also, it is not predictable that how many items will be displayed on the screen.

The generated html code will look like below. 

                width: 30%;
                float: left;
                margin-top: 1px;
                margin-bottom: 1px;
                margin-left: 1px;
                margin-right: 1px;
                background-color: #00FFFF;
                background-color: #FF00FF;
                height: 30px;
            <div id="templates">
                <div class="template_row" id="template1">
                    <div class="template_cell template_cell_head"><span>template name</span></div>
                    <div class="template_cell template_cell_head"><input id="chk_all" type="checkbox"/></div>
                <div class="template_row" id="template1">
                    <div class="template_cell"><span>template_name_1</span></div>
                    <div class="template_cell"><input id="chk1" type="checkbox"/></div>
                <div class="template_row" id="template2">
                    <div class="template_cell"><span>template_name_2</span></div>
                    <div class="template_cell"><input id="chk2" type="checkbox"/></div>
                <div class="template_row" id="template3">
                    <div class="template_cell"><span>template_name_3</span></div>
                    <div class="template_cell"><input id="chk3" type="checkbox"/></div>

Robotic Process Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.