Thursday, July 11, 2013

QTP : Installing Infragistics Test Advantage 12.2 for Qtp 11

How to make Infragistics test advantage working for you


  1. Install Qtp , select dot net addin  during installation.
  2. Once Qtp is installed.Open Qtp to make sure it has installed properly.
  3. Install Infragistics test Advanatge 12.2 and select CLR 4.0   (in our case ) ..... :-)
  4. Open  Sample applications (Documents and settings > search Type "infragistics ")
  5. Try recording and spying .

Wednesday, July 10, 2013

Qtp : Setting Timers , Object Sync Timeout and Iterations in Run Time

 

Timer Methods
  1. Continue Method - Continue counting
  2. Reset Method - Reset timer
  3. Start Method - Starts Timer
  4. Stop Method - Stops Timer

Object Sync Timeout
 
msgbox "current timeout "& Setting("ObjectSyncTimeOut")
Setting("DefaultTimeout")=5000


msgbox "new timeout "& Setting("ObjectSyncTimeOut")




Example :
  Setting("DefaultTimeout")=5000
   MercuryTimers("T1").Start
   If oObj.exist then Reporter.ReportEvent micPass,"title","Info"
   MercuryTimers("T1").Stop

   print MercuryTimers("T1").ElapsedTime