Micro Focus QTP (UFT) Forums
Maintenance free Automation, irrespective of any changes done on GUI - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Maintenance free Automation, irrespective of any changes done on GUI (/Thread-Maintenance-free-Automation-irrespective-of-any-changes-done-on-GUI)



Maintenance free Automation, irrespective of any changes done on GUI - siteshag - 07-01-2014

Automation Script requirement : Script should enough robust so as to be executable on all build’s from e.g. 75 to 86 irrespective of any changes done on GUI ,In short it should be maintenance free automation.

For Example:
There is Edit Box in build 75 and it has changed to list box in sprint 86.Now our script should able to run for such changes. It should able to handle the actions and of data on changed object.

Below are the challanges which we are facing to achive this requirement.Kindly suggest is there any way in automation to meet the below challanges:

Action On Changed Object across builds:

This cannot be achieved ,QTP does not support this kind of functionality where object change from one type to other. It cannot decide which action to be performed on which object, We only code it prior to execution that what kind of action to be performed on which object .As per Peter’s requirement ,Object has been changed to one element type to other element type. E.g. Edit Box has been changed to list box. Now QTP Unable to decide what action to be perform, because earlier action was written for Edit box and now it is List Box.

Data Selection for Changed object across builds:

Data at run time cannot be decided , it changes as per the object type and as per the script requirement.