AUT has been updated
Consider a situation where an automation is created for the application . This application has number of text boxes initially.
In the upcoming release, the application is changed and the text boxes are updated to list boxes.
What will the approach with this change in the application to existing automation.
Is it interview question?
This is depends on how you design your framework.
For Ex: In your framework if have generic function like EnterValue(ObjType,Value) and if you implemented the code like below, we can do it.
Here is a pseduo code:
if instr(ObjType,"edit")>0 then
elseif instr(ObjType,"listbox")>0 then
Thanks @Uday... How to handle the same situation if initially when the automation was designed we have used object repository. And all the text boxes properties are saved in the object repository.
After the updated of the text boxes to list boxes. What should be the approach to handle the change.