Ask a Question

Element slides away on highlighting

amit_bansal
Occasional Contributor

Element slides away on highlighting

While using object spy, I am selecting the element by glyph. The target address is filled in the in the object textbox. But when I click on highlight, the element on the modal window slides down and is not "visible on screen".

24 REPLIES 24
tristaanogre
Esteemed Contributor

What purpose does highlighting serve in your work?  I mean, it's a good reference to make sure what you have selected, but with many components any more, they are sensitive to whether or not the mouse is hovering or the field is focused... lose the focus, the component "slides away".


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
amit_bansal
Occasional Contributor

It is a drop down and I have to select item from this dropdown. When playback this step, the element slides down from view and the item is not selected.

OK, that's an entirely different problem than highlighting causing the object to slide away.

 

So... some questions:

1) What type of application is this? Web? Desktop? Mobile?

2) What type of drop down is this? 

3) Can you post screenshots of the drop down component and it's  Advanced properties so we can help determine the best way to work with it?

4) What happens when you try recording the process of clicking on the item?


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
jab4743
Contributor

Does the dropdown element have to be visible to be selected?  In the apps I test, as long as the element exists it does not have to be visible to be selected.  If it does have to be visible to be selected, have you tried to simply Key up (you may need a loop) until the visibleonscreen property is true and then selecting it?


@amit_bansal wrote:

While using object spy, I am selecting the element by glyph. The target address is filled in the in the object textbox. But when I click on highlight, the element on the modal window slides down and is not "visible on screen".


 

amit_bansal
Occasional Contributor

It is a web application and this dropdown is at the bottom of a modal window. This modal window has many drop downs but I am encountering issue with this one only. When I am highlighting this one or using clickitem method is slides down. I have also attached properties of the dropdown.

amit_bansal
Occasional Contributor

When the step clcikitem is run, it is visible on screen but when it clicks on it: it slides down. I am encountering this issue when I am highlighting the element. using object spy or on screen actions.

 

What happens if you call 

Aliases.browser.pageQaInstanceArcadiaMode.panelMwindiv.frameMwinFrame.BatchUpdatetable.cellData1.selectUaDwritestatus.ClickItem('Append')

 

It appears that this is a standard drop down component... you don't need to map the individual drop down options, you should be able to call just a basic ClickItem call where the parameter of ClickItem is either the text identifier of the item to be selected or the numerical index.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

What do you mean by "it slides down"? Does the item not get selected?  


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
amit_bansal
Occasional Contributor

The modal window slides down and the element is not visible on screen and the log information says, "There was an attempt to perform an action at point (47, 15) which is transparent or out of the window bounds."

cancel
Showing results for 
Search instead for 
Did you mean: