Micro Focus QTP (UFT) Forums
Very Complex Web Testing - 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: Very Complex Web Testing (/Thread-Very-Complex-Web-Testing)



Very Complex Web Testing - zunebuggy - 11-20-2017

I am testing a web app that was created in-house.  I have succesfully automated the log in page, the menu page and even a page where the user selects several workflow combinations from 3 dropdowns.

I have to test all of these combinations.  I have successfully had UFT select each combination and go to the actual workflow page and take a snapshot.  My idea here was, to look at every snapshot and list every web object. Each screen is unfortunately very unique.  

Instead of screenshots, I really need to programatically list every object and I might as well add them to the Object Repository at run-time because they will need to be added anyway.  The screenshot method was taking way too long.  I could get done with maybe 2 or 3 screens a day.  They are very complicated.  If it makes things easier, I believe ALL objects are on any of the screens, but they are simply disabled and not visible.

I have found no real good examples of how to collect ALL objects at runtime and add them to the Object Repository.  Can anyone please assist me?

There are over 200 combinations of workflow screens.  The team that wrote the app is long gone and it was written on the fly with no requirements whatsoever.  So we are testing as is and having the users sign off saying it is currently working as expected (or in some cases, the developers need to make a fix and my script will change accordingly).

Thank you very much


RE: Very Complex Web Testing - supputuri - 11-22-2017

Have tried using auto-learning option in the OR Manager. Make sure to configure the object types before using this option, rather adding all the unnecessary objects to OR.

Let me know if you need any more information.