hi,i have a pblm in qtp,im testing an webappl in which
different types of error pop up messages are displayed
which qtp is not differentiating or it is not recognising.
how do i make it recognise different popup errorm messages
while writing script?
Answers were Sorted based on User's Feedback
Answer / mukesh
Hi guys he is asking about how to recognise one pop up from
other and not of the error message when the application
fails----I am also facing the same problem
For example QTP dosen't recognise different pop up message
if we use it in a If else statement----i.e for all pop ups
it goes onlt in the 'If' condition always
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kamesh
Use the Recovery manger to diffrentiating the pop up..Here
you have two check box options like
1. Window title and Regular expression
2. Window text contains
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / rosy
Hi, use Recovery Scenario manager for error handling, you
can instruct it to recognize the error.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / raja
Use recovery scenario or else learn the OR of those windows
then handle those pop ups thro' script...
| Is This Answer Correct ? | 0 Yes | 1 No |
How many ways we can parameterize data in QTP?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
give me descriptive programing code sample flight application in qtp?
What are the difference between QTP and Winrunner
What is method name to compare two XML files.
anybody give me the real time example for descriptive programming of web application
How do u write regular expression for a window name which is changing for each build ? i.e. in first build the window name is : "computer graphics are very ...." . in second build the window name is : "computer graphics can be created" . - Appreciate proper replies
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
When you open QTP, how many sheets you can see?
What are the differences between quicktest professional and winrunner?
How can we parameterize our test, values in flat file. Ex:- Values in notepad, with that values i want to parameterize the test.