Skip to main content
Improved Formatting
Source Link
Kate Paulk
  • 31.5k
  • 8
  • 55
  • 109

Organization 1:

The code for the same is below  :

I'm getting belowthis error when I do run the steps using Selenium.

Organization 1:

The code for the same is below  :

I'm getting below error when I do run the steps using Selenium.

The code is below:

I'm getting this error when run the steps using Selenium.

I am trying to test selectingselect an option from a drop-down search box as shown below:   

enter image description here The

The HTML of the element is below :

<div id="select2-drop-mask" class="select2-drop-mask" style=""></div>
    <div id="select2-drop" class="select2-drop select2-display-none select2-with-searchbox select2-drop-active select2-drop-above" style="left: 130px; width: 707px; top: 338.2px; bottom: auto; display: block;">
        <div class="select2-search">
            <label class="select2-offscreen" for="s2id_autogen1_search">Organization</label>
            <input id="s2id_autogen1_search" class="select2-input" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-owns="select2-results-1" placeholder="" aria-activedescendant="select2-result-label-5" type="text">
        </div>
        <ul id="select2-results-1" class="select2-results" role="listbox">
            <li class="select2-results-dept-0 select2-result select2-result-selectable select2-highlighted" role="presentation">
                <div id="select2-result-label-5" class="select2-result-label" role="option">
                <span class="select2-match"></span>

The code offor the stepssame is below :

I'm getting below error when I do run the steps using Selenium.

This is the errorI get when I run the steps with selenium.enter image description here

I am trying to test selecting an option from a drop-down search box shown below:  enter image description here The HTML of the element is below

<div id="select2-drop-mask" class="select2-drop-mask" style=""></div>
<div id="select2-drop" class="select2-drop select2-display-none select2-with-searchbox select2-drop-active select2-drop-above" style="left: 130px; width: 707px; top: 338.2px; bottom: auto; display: block;">
<div class="select2-search">
<label class="select2-offscreen" for="s2id_autogen1_search">Organization</label>
<input id="s2id_autogen1_search" class="select2-input" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-owns="select2-results-1" placeholder="" aria-activedescendant="select2-result-label-5" type="text">
</div>
<ul id="select2-results-1" class="select2-results" role="listbox">
<li class="select2-results-dept-0 select2-result select2-result-selectable select2-highlighted" role="presentation">
<div id="select2-result-label-5" class="select2-result-label" role="option">
<span class="select2-match"></span>

The code of the steps is below

This is the errorI get when I run the steps with selenium.

I am trying to select an option from a drop-down search box as shown below: 

enter image description here

The HTML of the element is below :

<div id="select2-drop-mask" class="select2-drop-mask" style=""></div>
    <div id="select2-drop" class="select2-drop select2-display-none select2-with-searchbox select2-drop-active select2-drop-above" style="left: 130px; width: 707px; top: 338.2px; bottom: auto; display: block;">
        <div class="select2-search">
            <label class="select2-offscreen" for="s2id_autogen1_search">Organization</label>
            <input id="s2id_autogen1_search" class="select2-input" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-owns="select2-results-1" placeholder="" aria-activedescendant="select2-result-label-5" type="text">
        </div>
        <ul id="select2-results-1" class="select2-results" role="listbox">
            <li class="select2-results-dept-0 select2-result select2-result-selectable select2-highlighted" role="presentation">
                <div id="select2-result-label-5" class="select2-result-label" role="option">
                <span class="select2-match"></span>

The code for the same is below :

I'm getting below error when I do run the steps using Selenium.

enter image description here

deleted 6 characters in body
Source Link
Jase
  • 23
  • 1
  • 1
  • 4

I am trying to test selecting an option from a drop-down search box shown below:

enter image description here

The enter image description here The HTML of the element is below

I am trying to test selecting an option from a drop-down search box shown below:

enter image description here

The HTML of the element is below

I am trying to test selecting an option from a drop-down search box shown below: enter image description here The HTML of the element is below

added 5 characters in body
Source Link
Jase
  • 23
  • 1
  • 1
  • 4
Loading
Formatting
Source Link
Bharat Mane
  • 6.8k
  • 11
  • 41
  • 69
Loading
Source Link
Jase
  • 23
  • 1
  • 1
  • 4
Loading