Forum Discussion

srikanth2801's avatar
srikanth2801
Contributor
15 years ago

how to click on desktop item.

Hi



this is srikanth.



how to click on desktop item (shortcut by the specified name).



is it possible to rightclick on that object.



if anybody know how to navigate through start>programs>automatedQA>testcomplete>testcomplete8. from start menu. and click on that item.(possibly right click to open that properties file).



thanks in advance.

  • Hi,





    You can record tests for the needed actions. In case of clicking a Start Menu item or double-clicking a desktop shortcut, there is no need to record and play back these actions. TestComplete uses a more reliable way: the corresponding application is automatically added to the TestedApps collection of your project and can be run with the Run method (as it is recorded).





    If you need some additional help, please clarify your task.
  • Hi,



    i want to right click on that desktop icon and go to the propeeties window and do some modifications in the properties window.



    will you suggest me how to click on that desktop icon.



    thanks in advance.

  • Hi,





    You can just record a test by performing the needed actions. Do you have problems when playing back the recorded test?
  • Hi,

    thanks for the reply.



    Sys.Process("Explorer").Window("Progman", "Program Manager", 1).Window("SysListView32", "", 1).



    Here all the desktop items will be there and i picked the specified with name.



    thanks for the reply.



    my problem was solved.