I would like to know where the snapshots stored in QTP Results. i.e. Tools-->Options-->ActiveScreen-->CustomLevel-->General-->Simple radio button selected, for every statement of the script will be taken a snapshot and displayed in test results viewer after finishing the test execution. But here I would like to see from results folder where those will be stored?
Snapshots
|
just check action0 and action1 of qtp script folder
you should start with following code
Code: RegisterUserFunc "Page", "CaptureScreenshot", "CaptureScreenshot" use the following line where you want take screenshot or snapshot Code: Browser("micclass:=Browser").Page("micclass:=Page").CaptureScreenshot micPass, "<h4 align = ""Center"">Page SuccessFully Displayed</h4>" The below code is a library file. Add the library file to the script Code: Public Sub CaptureScreenshot( ByRef Sender, ByVal micStatus, ByVal descriptionStr ) Bhadra I am sure the code will work because i used it in so many projects |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
How to export the snapshots included in the result | surekha.kadi | 6 | 7,304 |
05-11-2010, 02:28 PM Last Post: surekha.kadi |
Users browsing this thread: 1 Guest(s)