Micro Focus QTP (UFT) Forums
How can a object added to object repository before they exist in the application !! - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How can a object added to object repository before they exist in the application !! (/Thread-How-can-a-object-added-to-object-repository-before-they-exist-in-the-application)



How can a object added to object repository before they exist in the application !! - vijay.gupta - 08-03-2011

How can a object added to object repository before they exist in the application?

Can it be done as below is the excerpt that I read somewhere on net and got confused as to how it can be done?

"because it is possible to add objects to the object repository before they exist in an application, it is possible to begin preparing our automated keyword-driven tests even before a software build containing the new objects is available."


RE: How can a object added to object repository before they exist in the application !! - supputuri - 08-03-2011

Hi Vijay,

Resource --> Object Repository Manager --> Open your current Object repository (if you have one)
Then click on
Object --> Define New Test Object...

Now you can add the object with desired object name and properties.

Let me know if you need any more information.


RE: How can a object added to object repository before they exist in the application !! - vijay.gupta - 08-04-2011

Thanks supputuri for the information. But for that, I need to know the properties and values of the object beforehand but as a tester, how do I know that (devs would only be knowing what object values and properties thay will be using for the run time object)..that is my actual query.

Sorry for not being clear earlier.


RE: How can a object added to object repository before they exist in the application !! - Tarik Sheth - 08-04-2011

Hi,

For that you need to actually ask developer following things.

1. Which is the front end they are using
2. Coding technology (Dot Net, JAVA, Flex etc.)
atleast a demo page should be ready before starting on automation.
3. object descriptions etc.
4. More over use descriptive programming to define your object and you can get the object description required, from developer or if you have access to Visual Studio then open the class and front end take the object desription.

Hope this helps



RE: How can a object added to object repository before they exist in the application !! - vijay.gupta - 08-04-2011

Thanks Tarik. I got my answer that we can create the object by giving property values to it..Smile


RE: How can a object added to object repository before they exist in the application !! - Sathiya - 02-17-2012

Hi,
I am working in Flex and QTP 9.5. the flex application performance is very slow in automation execution when compared to manual testing... is there any solution for speed up the execution? or speed up the application. moreover it takes 5minutes for recognizing each object.


RE: How can a object added to object repository before they exist in the application !! - inborntester - 02-17-2012

when you try to create the objects before its exist, you need lot of solid referance from dev or techical design doucuments/ UI Design document. It takes lot of reworks if its not anticipated properly. its better idea to create prototypes level of objects and implement codes. later you can do object mapping once the application got ready bu descriptive or repository.