Forum Discussion

Sreera's avatar
Sreera
Occasional Contributor
6 years ago

Webelements

Hi all,

 

In our application we have pop-up window with multiple dropdowns in vertical position with almost same properties except for the x and y axis. On clicking the first dropdown, Webedit opens up but while automating the same page scrolls up and text is being placed in another dropdown instead. 

 

Can anyone help resolve this? Even the properties like innertext is the same for all

4 Replies

    • Sreera's avatar
      Sreera
      Occasional Contributor

      I tried the record and playback, the objects got recorded in the increasing order like WE, WE1.. And while playing the steps, page keeps scrolling up and the steps are failing 

      • Marsha_R's avatar
        Marsha_R
        Champion Level 3

        Try using the object spy on one of those objects and show us the extended properties.  

  • NisHera's avatar
    NisHera
    Valued Contributor

    though properties are same order is different  ...

    in selenium I would do is get array of objects using parent, and get the nth one.

     

    But as Marsha_R there should/could be unique property you are not awre of yet.