I'm having a problem to get the status(pass or fail) during
runtime for every iteration ran, and must get the results
stored to an excel sheet if possible.
Answer Posted / kaps
Reporter.ReportEvent is used to report custom test steps in QTP's test results tree
Syntax -Reporter.ReportEventEventStatus, ReportStepName, Details [, ImageFilePath]
Event Status can have values
0 or micPass - a pass status
1 or micFail - a fail status
2 or micDone - a message Done
3 or micWarning - a warning message to the result window
Result can be export to an excel sheet.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
What is the syntax to call one script from another?
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
Can any suggest me what is exposure testing?
How many add-ins comes by default with quicktest professional (qtp)?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
How smart identification works in qtp ?
What are the views available in quicktest professional?
How to remove associated function library?
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
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
Explain the Different types of QTP test assets and their extensions?
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com