mahesh


{ City } banglore
< Country > india
* Profession * test engineer
User No # 49245
Total Questions Posted # 0
Total Answers Posted # 3

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 0
Users Marked my Answers as Wrong # 0
Questions / { mahesh }
Questions Answers Category Views Company eMail




Answers / { mahesh }

Question { 4374 }

Describe some problem that you had with automating test tool?


Answer


1. Some times Few Menus are not appears.
2. Object repository was not supported for identify the objects.
3. Some times if open the new QTP file in that also shows
already attached Recovery Scenario file every time.
4. All Browsers are not supported for test the application
with QTP. (by default IE supported)







Is This Answer Correct ?    0 Yes 0 No

Question { HP, 3080 }

How to handle exceptions in for loop of DDT script.


Answer

Steps for handle the Exceptions:
--------------------------------
1 ways is: Object Repository based Exceptions
2 way is: Descriptive based(VB Script)Exceptions

OR based Exceptions(using tool options):

Steps:
1. Take the +ve & -ve Test Data in Data Table
2. when ever the -ve data enter on the application at that
time that application was shows the error. Capture this
error window using recovery scenario concept in QTP
Ex: In the Flight Application User Name was accept
only Mercury. If u enter the any other than that at that
time the Flight application was shows error message (ie.
popup window: Enter Valid Password). We need handle this
exception.

DataTable xl sheet in qtp take the data like this:
UserName
--------
Mercury
mercu

Resources --> Recovery Scenario Manager --> Click on the +
Sumbol --> Select the Pop up window option --> With the hand
icon select the Error Windows: Tittle Name that window name
appears in the text box --> click next and again with hand
icon click the on the error msg which was displayed on the
error window.--> click next
give the scenarion name
give the recovery scenario file name.

Generate the DDT script for execute the Test Data.
Output: now handle the -ve test data.

Descriptive based Exceptions(without qtp tool options):

Use here .exist method for exist that window
.GetROProperty to capture the error message.

If Dialog("Flight Applications").Exist Then
errmsg=Dialog("Flight Applications").GetROProperty("text")
If errmsg = "Enter Valid UserName" Then
Dialog("Flight Applications").WinButton("OK").Click
End If
End If

Like this we can develop the VbScript code without using the
tool options.

Is This Answer Correct ?    0 Yes 0 No


Question { Kanbay, 14043 }

How we can do Batch testing in QTP?


Answer

hi Every body,

i know that the following we conduct batch testing:

1. for using batch runner tool ( given with qtp)
2. AOM
3. using bath runner tools
select the tests and save the bath file
that execute with AOM
try with 3 it possible or not i don't know.
4. By Creating Framework we execute the multiple test cases.

thanks
maheshqtp@rediffmail.com
if any questions please let me know

Is This Answer Correct ?    0 Yes 0 No