cancel
Showing results for 
Search instead for 
Did you mean: 

TestComplete not able to select value from Panel

Highlighted
Occasional Contributor

TestComplete not able to select value from Panel

Hi,

 

I have a requirement to select value from Panel drowdown. But the usual methods such as Keys or ClickItem is not working here. I have attached the screenshots for reference.

1 REPLY
Community Hero

Re: TestComplete not able to select value from Panel

Hi,

 

Can you provide the code?

I am really doubting that the Panel you are talking about represents a target dropdown.

Most probably, it is just a container and dropdown itself is emulated by the TextNode(0) for the main input field and TextNode(dropDownXXX) for the dropdown list.

If this is a case, then I would recommend to try something like this:

-- Click on the TextNode(0) to activate it;

-- Use .Keys() to enter required value into the field;

-- Execute TextNode(0).Keys("[Enter]") to confirm selection and close the dropdown.

 

The above sequence usually works. But the actual implementation of your given emulation of dropdown may require additional actions like clicking on the required highlighted dropdown item (TextNode(dropDownXXX)) or some other additional actions.

 

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/
================================
Share Your Stories
Read Latest News
Top Kudoed Authors