Forum Discussion
- manojgovikariContributorPlease do help me if there is any techinque to do this.. Without objects and build can we design the framework and work flow
- AlexeyKSmartBear 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.
- tristaanogreEsteemed ContributorTo 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
Related Content
- 5 years ago
- 3 years ago
Recent Discussions
- 23 minutes ago
- 23 hours ago