Forum Discussion

manojgovikari's avatar
manojgovikari
Contributor
13 years ago

How to develop the code without build availability

Hi Team,



I need some info on developing the code without build availability, we have the reqirements are in place but we need to start develop the code before the build available using TestComplete 7.5. Please help me if there is any feature/options in test complete tool to do this activity.
  • Please do help me if there is any techinque to do this.. Without objects and build can we design the framework and work flow
  • AlexeyK's avatar
    AlexeyK
    SmartBear Alumni (Retired)

    Manoj,


    To create tests that simulate user actions on your application, you need to know the object hierarchy of your application and the methods and properties the objects contain. So, you need to have an application to do this.


    Without the application you can, perhaps, create only test scripts (not keyword tests) that implement a general infrastructure or framework. Creating scripts simulating user actions in these conditions is error-prone. Most likely, after you get the build, you will have to fix errors in the script code written "blindly".


    If you have a previous build of your app, you can start creating tests on it and then update your tests after you get the appropriate build.

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    To build on the idea of a framework that is not application dependant, you can take a look at what Boris documents here



    http://blog.smartbear.com/post/11-08-11/improving-gui-automated-testing/



    The idea is that even the actions of clicking on a button or such is driven by the data with the object designation itself being passed in.  This is a highly complex and advanced method of doing this requiring a much more in depth experience with software development.



    BUT... it is possible, just might not be practical depending upon what you need to accomplish.  As mentioned, when it comes to automation with a UI, it's usually best to build the automation AFTER the application is available with the expectation that you'll need to make adjustments.  Now, using things like FindChild and NameMapping and other such things you can add some flexibility, but you'll still need to make adjustments as the application is finalized