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
can test automation improve test effectiveness?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
How to use parameterization in qtp?
What is the difference in the global and action sheet in qtp?
What are the advantages of qtp?
Explain in brief about the qtp automation object model (aom).
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
How software automation specialist enter steps in the Expert View?
please any one can explain the keyword driven framework. with gmail example.
They asked by using qtp recording writing scripting
Tell me one scenario, the complex functionality you have automated in your project?
How you can find the absolute value of the number in qtp?
How do you create new test sets in td?