How to handle Run-time errors?
Answers were Sorted based on User's Feedback
Answer / raja83
QTP have Recovery scenerio concept we can handle run time
error through Recovery Scenario
| Is This Answer Correct ? | 4 Yes | 0 No |
there are two types of run-time errors
expected (if we know in which line of script it is occuring)
and unexpected (if we do not know the occuring place)
for expected run-time errors we will handle using VB script
like on error resume next method
for unexpected errors we will go for recovery scenario
| Is This Answer Correct ? | 3 Yes | 1 No |
can anyone tell me how to search a word/line in a document and to paste it in another file? Thanks in advance.
What are SetToProperty, SetRoProperty, GetToProperty scripting?
How to explain a banking project in interview as a test engineer???
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
How to launch application under test through VBscript without using systemutil.run or invokeapplication?
Hi Can u plz suggest who is the Best Faculty for Advanced QTP Scripting in Hyderabad ,plz suggest me..... or send me a replay to satheesh.goli@gmail.com, r make me a call 9866335752
Write VB script to test given number is Prime Number
Is there anyway to have QTP go into a website and map out every object before I actually record any tests? I basically want to map out a website with all the objects and build a complete repository. The reason is because I'm running into issues with hierarcical objects. for example: Browser("ABC company- Home").Page("ABC company - Home").Link ("About Us").Click Browser("ABC company - Page 2").Page("ABC company - Page 2").Link("About Us").Click Both these links ("objects" and I use that term loosely as I'm trained mostly in OO programming) go to the same place but but the object heirarchies (pages) are different. I want a repository that will find any possible link on any possible page without having to manually record it. Is there a way to do this?
Reverse string without mid or streverse function.
Where we write the FUNCTIONS, in Expert view (or) in any textfiles like Notepad and save it in Library functions folder? How to cal that functions to our script? How to save that functions to Function generator?
How to delete an object from the object repository?
What are Error handling other than Recovery scenario manager?