Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to capture screen shots when an error occurs?

Answer Posted / lak

Objectheirarchy.CaptureBitmap "path"

for ex

to capture any window

Window("Flight Reservation").CaptureBitmap "C:\pic1.bmp"

to capture combo box(tool)

Window("Flight Reservation").WinComboBox("Fly
From:").CaptureBitmap "C:\pic2.bmp"

This is used in QTP.

www.funandknowledge.blogspot.com

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If u r using library files (Instead of Check Points) , How do u do bitmap check ?

2048


What are the methods used in UFT to handle exceptions or run-time errors?

1112


Explain the concept of object repository and how quicktest professional recognises objects?

1023


Is any limitation to xml checkpoints?

1026


Explain in brief about the quicktest professional (qtp) automation object model?

988


How to use descriptive programming?

1145


Differentiate the type of test cases which can be automated and which cannot be automated?

1036


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

974


Where we use data driver in qtp?

1050


What is Unicode Compatibility?

2014


when u script reveiwing in which area u more concentrates?

1904


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

2218


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

2015


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

2072


Explain advantages and disadvantages kdf?

960