How would you test this kind of dynamically generated list?
Hi,
I’m a new in TestComplete and just trying to understand how
it works. We are evaluating a version 8.7.
I have a question about testing of dynamically generated menus.
When I record my test TestComplete automatically inserts HoverMouse
operation. Good. But when I play the test I've got the “Object does not exist” error (An
error occurred while calling the "HoverMouse"…)
My example goes from the public site www.southwest.com.
So, anybody can go there and try to repeat my very simple test.
1. Go to the site
2. Enter departure airport (for Example, for San Francisco enter SFO)
3. As soon as you entered SFO, the drop down list will be generated with all airports in San Francisco area.
(Please see the attached file)
4. I selected something from the list and stop recording.
When I play the test it failed. Of course, the generated list does not exists.
So, there are two questions:
1. How can I test the list of those airports? (Every time when I enter
different airport codes the drop down list will have a different content.)
2. How TestComplete can select (click) on any options from the list? (As I
said, HoverMouse operation has been already inserted in the test automaticaly)
Thanks.