Forum Discussion

KayC's avatar
KayC
Occasional Contributor
12 years ago

editing Events in a project no longer works

My Project has the Events object & GeneralEvents listed within the project viewer but I cannot edit them ...I normally double click the events so I can use OnStopTest etc



but for some reason this one project wont let me edit the events.



In the rtClick menu Edit is disabled.



I have removed Events & re-added it, checked all options & properties but with no success..



Please if anyone has any ideas why this simple task is no longer working please let me know.. I'm sure it will be something obvious.. I just don't knwo what!



many thanks in advance



Kay
  • KayC's avatar
    KayC
    Occasional Contributor
    Hi

    resolved this issue by doing a repair installation...



    - the Events were listed in the project explorer as it should so hadn't deleted anything..

    - tried forcing it to regenerate the .tcCfgExtender file. but this didn't help either.



    even when creating a new Project could not edit the events so figured something had got corrupt big time so last resort was Reinstall..



    Thanks for your help anyway..

    repair did the trick so happy bunny again! :)



    cheers

    K





  • chrisb's avatar
    chrisb
    Regular Contributor
    I am wondering if you accidently removed a file. You should have this structure in the project tree for events, take a look at the attached screenshot too. 





    Project Name 

                             - Advanced

                             - Events

                                 - Event Configuration File

                             - Script

                                  - Events

                                    - An event script

                                    - Another event script



    You configure the events by clicking on the event configuration file. In the attached screenshot mine is called 'GeneralEvents'. My event scripts are just named the same as the events they are tied too to make it quick for me to add /remove events as required. Hope this helps. 





  • chrisb's avatar
    chrisb
    Regular Contributor
    I am wondering if you accidently removed a file. You should have this structure in the project tree for events, take a look at the attached screenshot too. 





    Project Name 

                             - Advanced

                             - Events

                                 - Event Configuration File

                             - Script

                                  - Events

                                    - An event script

                                    - Another event script



    You configure the events by clicking on the event configuration file. In the attached screenshot mine is called 'GeneralEvents'. My event scripts are just named the same as the events they are tied too to make it quick for me to add /remove events as required. Hope this helps. 





  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    There should be a file with your project name on it in your project suite folder. The extension will be ".tcCfgExtender". With Test Complete closed try to rename this file to ".tcCfgExtenderBAK" and then open your project suite again. Test Complete should recreate this file. More than likely it is there but corrupt or invalid somehow.