How to make Infragistics test advantage working for you
- Install Qtp , select dot net addin during installation.
- Once Qtp is installed.Open Qtp to make sure it has installed properly.
- Install Infragistics test Advanatge 12.2 and select CLR 4.0 (in our case ) ..... :-)
- Open Sample applications (Documents and settings > search Type "infragistics ")
- Try recording and spying .
Timer Methods
- Continue Method - Continue counting
- Reset Method - Reset timer
- Start Method - Starts Timer
- 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