ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
Please any on explain usage of "on error resume next","On
error goto 0" with sample code....Thankyou.........
when a tester is asked to execute 100 scripts in a short
time..(the server will be  down in another 10 min)..how he
has to run those scripts?
 Question Submitted By :: Karthik
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Please any on explain usage of "on error resume next","On error goto 0" with sample code....Thankyou......... when a tester is asked to execute 100 scripts in a short time..(the server will be down in another 10 min)..how he has to run those scripts?
Answer
# 1
"on error resume next" is to resume the QTP to the next 
line,next action when an error occurs while executing the 
Test Script
 
Is This Answer Correct ?    0 Yes 0 No
Ganesh Kumar
 
  Re: Please any on explain usage of "on error resume next","On error goto 0" with sample code....Thankyou......... when a tester is asked to execute 100 scripts in a short time..(the server will be down in another 10 min)..how he has to run those scripts?
Answer
# 2
On error resume next - If any error occured in the function 
then qtp will skip that error and start from the line next 
to that and report the error in the result.
On error go to 100 - goto 100th line.
If the scripts are independent to each other, then you can 
execute the scripts even if it stops in 10th script, in 
later you can continue testing with that.
 
Is This Answer Correct ?    2 Yes 1 No
Aiswaryan
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
hi Action 1 and action2 if we save it in C:, what folders will be created explain plz iFlex3
What is the Difference between Environment variable and Globle variable,.. anybody can give me answer..Thanks in advance... IBM2
WHY U CHOOSE TESTING FIELD? TCS5
Wht are the BY default Add-ins in QTP 9.2 version and what all are differences between 8.2 and 9.2 Siemens1
Please any on explain usage of "on error resume next","On error goto 0" with sample code....Thankyou......... when a tester is asked to execute 100 scripts in a short time..(the server will be down in another 10 min)..how he has to run those scripts? Datamatics2
How to Install QTP on Citrix Environment? Possible send me the installation steps.. That would be great help  1
This is the script generated by qtp plz can anyone write the same script using descriptive programming plzzzz guys do answer. Browser("orkut - login").Page("orkut - login").WebEdit ("Email").Set "rgovard" Browser("orkut - login").Page("orkut - login").WebEdit ("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38" Browser("orkut - login").Page("orkut - login").WebButton ("Sign in").Click Browser("orkut - login").Page("orkut - home").Link ("Logout").Click Browser("orkut - login").Page("orkut - login").Sync Browser("orkut - login").Close  5
In real time ,How to run all scripts in QTP? i,e in projects  1
How to Import data from a ".xls" file to Data table during Runtime.  1
Hello Everybody, Can anyone tell me that in QTP how to count the number of webelements from the object repository. Please provide the code. Thanks in advance, Gaytri  2
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?  1
pls tell me different type of automation frame works in QTP and which one need to select in client server application Syntel6
How to add check point?  2
how can i replace any text from the qtp script with some anothere text Livetek1
Which object repository we use in real time and can we merge 2 object repostiory and how? HCL6
what is the process to follow between writing the test cases & then atomating it?  1
what is the Descriptive Progarmming? how it is help to testers in QTP? TCS4
How u do the back end testing in QTP? SunGard2
How to load object properties to object repository through scripting.give one example IBM6
What type of VB script u had done in expert view?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com