cancel
Showing results for 
Search instead for 
Did you mean: 

Dropdown list

SOLVED
Valued Contributor

Dropdown list

Hi,

I'm trying to record a click on a dropdown list then some input with the keyboard to select an item.

TestComplete only records clicks, but ignores the keyboard.

Does anyone has faced this issue ?

Thank you,

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Dropdown list

 if you're moving too fast [...]

For me 'to be not too fast' while recording is to wait until TestComplete draws red rectangle aroung the object hovered with mouse. And continue with clicks/drags only after rectangle appears.

Slow... But more of less reliable.

 

Just my $0.02.

 

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

6 REPLIES 6
Highlighted
Community Hero

Re: Dropdown list

Because TestComplete may be trying to map the object that you're recording the keystrokes on, if you're moving too fast, it may lose track of the component before the mapping is complete... I've seen this happen personally.

 

Try mapping the component first then do the recording and see if that corrects the problem.


Robert Martin
[Community Expert Group]
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
Highlighted
Valued Contributor

Re: Dropdown list

Hey Robert, thanks for replying,

The problem is that I don't manage to map it, so I tried to record it to get the mapping done...

Highlighted
Community Hero

Re: Dropdown list

Gotcha.

 

What's preventing the manual mapping?  Is it a control that only appear on hover or something?  Have you tried the CTRL-A way of mapping?

 

Also, do you have "Use extended find when possible" setting turned on?  because, if so, you could be running into a long search process in finding the object which may be slowing down the recorded mapping.


Robert Martin
[Community Expert Group]
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
Highlighted
Community Hero

Re: Dropdown list

 if you're moving too fast [...]

For me 'to be not too fast' while recording is to wait until TestComplete draws red rectangle aroung the object hovered with mouse. And continue with clicks/drags only after rectangle appears.

Slow... But more of less reliable.

 

Just my $0.02.

 

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

Highlighted
Community Manager

Re: Dropdown list

Thanks everybody!

 

Hi @m_essaid, please let us know if you were able to solve this! 



Sonya Mihaljova
Community and Education Specialist

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!
Highlighted
Valued Contributor

Re: Dropdown list

Hi,

yes I tried Ctrl-A.

The issue is that I have 2 dropdown lists that are quite difficult to use at the same time.

I'm trying to use CSS with QuerySelector but the dropdown lists have inputs integrated to type first letters of the selection, but at the first click the list un-select (like if I had release the mouse button).

 

I finally manage to use theses 2 lists at the same time but I'm not really satisfied...