How to handle the errors without using recovery scenery?

Answers were Sorted based on User's Feedback



How to handle the errors without using recovery scenery?..

Answer / radhika

on error resume next---- has to be written in the beginning
or the code....

Is This Answer Correct ?    9 Yes 1 No

How to handle the errors without using recovery scenery?..

Answer / dinesh1433

write on error resume next statement ,where do you expect an error may come. or in run setting set as "proceed to next step.

Is This Answer Correct ?    0 Yes 0 No

How to handle the errors without using recovery scenery?..

Answer / balaji

hi U can use like this also
If browser("HOW TO HANDLE THE EARRORS").Page("HOW TO HANDLE
THE EARRORS").WebElement("Question : HOW TO HANDLE").Exist
Then
browser("HOW TO HANDLE THE EARRORS").Page("HOW TO
HANDLE THE EARRORS").WebElement("Question : HOW TO
HANDLE").Click
End If

Correct if wrong
Balaji

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More QTP Interview Questions

how to export the result to notepad....for example i want to enter the user name and pass word and clicking on login button ......once you click on login button the corresponding page will open ...in that page you having one list box ...here you can get either success or failure ........friends here i want export the message what ever i got either success or failure .....how to export the result to note pad

1 Answers   Mind Tree,


When u ll use Record Button in QTP?Is VB script is Mandatory in QTP? What is Meaning of Frame("v1")?

1 Answers   TCS,


what is defination of intergration testing?

2 Answers  


qtp script for recording and running the application.need script for short cut keys like f3,f4 etc.how to write script for recording?

2 Answers  


Explain qtp(quick test professional)?

0 Answers  






VB - Script Training in MUMBAI.

1 Answers  


This is Ajay i have few douts if anybody know pls give me reply. 1. i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording

3 Answers   Symantic Space,


hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this

0 Answers   Livetek, NIIT,


Hi, I Would Like to Know which is the Best QTP Certification Training Institute in Hyd? Thanks in Advance kishan

1 Answers  


can i automate java web application using qtp web addin only not using java addin

1 Answers   Infosys,


Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples?

1 Answers   TCS,


What are the views available in qtp?

0 Answers  


Categories