Forum Discussion

jmac_816's avatar
jmac_816
Occasional Contributor
11 years ago

Incoporate TC scripts in my GUI Application

 

My application is a GUI Database Manager that can create devices (our devices) and users which then can be programmed from my Application to remote devices in the field. I understand how to create Keyword tests. But I need to be able to create script tests. For example, my program has a terminal interface which can connect to remote devices and authenticate to them. I want a script test which will mimic this functionality.

 

Do I need to define TC (C#) functions in my GUI. Because Keyword tests depend on the position of the windows, if something is changed it will affect the Keyword test.  I need to be able define a script test which will not depend on the position of the windows.

 

Thanks

6 Replies

  • NisHera's avatar
    NisHera
    Valued Contributor

    TC is essencialy a GUI testing tool. But capable for some script calling such as Database calls.
    May be you can kick off unit test from TC and I do not think TC scripts could help in your situation

     

    TC scripts are doing same thing as KDT does. But are manually written from scrach.

     

    By the way you can write test do not depends on windows positions but windows objects

    • jmac_816's avatar
      jmac_816
      Occasional Contributor

       

      If a Keyword test is the only way I can use it to test my Application,. how can I make sure I have the correct Window Objects position or set the Windows OBject position for another workstation that is accessing my GUI App and TC..

       

       

      What do you mean by "write test" and "KDT"?

      • jmac_816's avatar
        jmac_816
        Occasional Contributor

        I am getting Object does not exist for "Taskbar". How can I get around this.

         

        Thanks