Here are some situations
1) If the application is having Dynamic Objects
OR: Difficult to handle Dynamic Objects using Object Repository
2) When we have more objects to perform operations
OR: The performance will decrease if object repository is having huge number of objects.
3) If the application is having objects that are adding in the Run Time
OR: We can’t add objects to Object Repository in run time.
4) If we need to start Automation before Build Release
OR: There is no application to create Object Repository.
5) If Application is having similar type of objects or similar name objects
OR: Object Repository will create multiple objects with same description unnecessarily.
Follow @TestingQ
1) If the application is having Dynamic Objects
OR: Difficult to handle Dynamic Objects using Object Repository
2) When we have more objects to perform operations
OR: The performance will decrease if object repository is having huge number of objects.
3) If the application is having objects that are adding in the Run Time
OR: We can’t add objects to Object Repository in run time.
4) If we need to start Automation before Build Release
OR: There is no application to create Object Repository.
5) If Application is having similar type of objects or similar name objects
OR: Object Repository will create multiple objects with same description unnecessarily.