How to capture screen shots when an error occurs?
Answer Posted / ram.polavarapu
browser("").page("").webedit("").set"ram@yahoo.com"
browser("").page("").webedit("").set"fbnjvkjnbv"
browser("").page("").webbutton("signin").click
if browser("").page("").exist then
reporter.reportevent 0,"login","login is sucess"
else
browser("").page("").capturebitmap "b.bmp"
reporter.reportevent 1,"login","lgin is not sucess","b1.bmp"
end if
note->give the wrong psw ang you will get the result in
results window
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is keyword driven framework?
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
Explain the use of action split in qtp?
Explain different recording modes?
There is an excel file of 1 to 100 sheets how you will iterate through it?
How did you resolve conflicts present in Object Repository?
hi nani my doubt is how does qtp process metrix related to software process.
Without using gui map editor we can recognize the application in winrunner ?
How many types of Automation frameworks are there in UFT? Describe them.
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
what are all the fileds present in object repository?
what is review
How to export quicktest professional (qtp) results to an .xls file?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
What are the challenges you faced during you entire life automation ?