Forum Discussion

rashmi_1's avatar
rashmi_1
Occasional Contributor
15 years ago

Issue with drop down list.

Hi Allen,

I have a drop down list in my application, when i record using testcomplete 8

it selects the correct value using the co-ordinates(i was using the script method to record)

but when i playback it selects some different value from the list either its the next

value or it could be the next alternative value. My question is why does it select some

other value from the list when it is recording using the co-ordinates only??

does'nt the co-ordinates differ for different value?

How to overcome this problem???

can anybody reply to this!!!

16 Replies

  • Hi,



    the scroll bar moves to read the value due to which the checkbox

    Gets hidden


    Try removing the Drag method call from your script. CheckItem should work without scrolling.
  • Hi,



    In this case, is it possible for you to send us an application (not the application you're testing, but just a small sample) demonstrating the problematic behavior? If this is not possible, let us know the name, vendor and version of the control you're trying to work with.



    Also, you can try selecting items in your control by using its internal properties and methods as you'd do this inside your application (see the Ways to Interact With Application Objects help topic).
  • indubousely's avatar
    indubousely
    Occasional Contributor

    Hi


     


    I am Using Test complete in Windows desktop application, in this application i have many drop down and grid controls and i am facing  couple of issues. 


    1) while recording the project I used script method and selected one value from the drop down, when i do play back i want to choose another option from the drop down, but here its taking the co-ordinates(Position values) so i can't give the drop down options names directly, also  its not displaying ClickItem() method, Only the Click(),ClickR() and ClickM() Methods are available. please give me valuable feedback ASAP.


     


    2)While recording the application i have entered values in the Grid one by one from top to bottom, but on play back its not re-entering the values. Value get filled only for the first cell after it  moved to next one and shows object doesn't exists error.


     


    please tell me how to overcome these two problems.