Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Two questions about QTP
#4
Solved: 12 Years, 10 Months, 3 Weeks ago
I am a beginner in QTP.

Regarding your question about QTP not recognizing certain objects, etc.. can you be more specific what you are trying to test, and what kind of objects you are keeping in your mind, etc? Then people in this forum should be able to answer specifically and clearly.


The application I test is a web app. Almost all the pages are built on the fly and its all custom. The page layout, controls (form fields and their order), everything changes based on configuration as well as data. Every client will have their own preference on layout of panels, order and style of data/form-fields that appear on panels, etc. For this I had to do descriptive programming like: for example, if I am testing a process, which boils down to few clicks on few controls across few pages, then using QTP scripting, I check if the control exists then click on it and if a form field exists then fill data etc. If not exists and its required then record error, otherwise skip the step etc.

For static controls and objects, we can pretty much do record/play based testing. Only for dynamically changing controls and objects, we need descriptive programming.

There is another thing, say, we record our test for your application version 3.1, now your application 4.0 is released and one or more controls or objects changed (added/deleted/modified), we obviously need to re work on the test. Because the application is not anymore the same as before. So we are testing a different process. It is same as the scenario where the tester, doing manual testing, needs to learn some things new due to these changes.

Also I use recovery scenarios, where if any failures, beyond all this programming, happens, test process is told to go to next iteration. Recovery scenarios can be setup, at this unexpected occasion, to stop the test, or to go to next step of the test, etc.

But if your pages changes

Also my workplace do not have HP Quality center product. We just have QTP. Probably you can do a whole lot more with this Quality center.
Reply


Messages In This Thread
Two questions about QTP - by xinlishang - 01-09-2010, 08:59 AM
RE: Two questions about QTP - by azar80 - 01-09-2010, 11:48 PM
RE: Two questions about QTP - by xinlishang - 01-15-2010, 11:03 AM
RE: Two questions about QTP - by sepgs2004 - 01-19-2010, 08:23 PM
RE: Two questions about QTP - by xinlishang - 02-04-2010, 11:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  few questions?? ACCBAJPA 1 2,789 07-08-2014, 02:01 PM
Last Post: QTpier
  QTP supportabi​lity questions debby_huijin 1 2,688 05-19-2014, 06:32 AM
Last Post: debby_huijin
  Hello All -Nice forum to start learning QTP. Few questions QTP.learning 0 2,202 05-18-2014, 04:10 PM
Last Post: QTP.learning
Question QTP Questions yodhpal 1 3,851 03-17-2011, 12:57 PM
Last Post: basanth27
  3 basic questions..please help Blizna 5 5,943 07-09-2010, 12:21 PM
Last Post: sasmitakumari

Forum Jump:


Users browsing this thread: 1 Guest(s)