How to supress warnings from the "Test results page"?
Answers were Sorted based on User's Feedback
Answer / sreeprasad
-if you want Pass result in the Result page
reporter.reportevent micPass,........
-if you want fail result in the Result page
reporter.reportevent micFail,........
-if you want Warning result in the Result page
reporter.reportevent micWarning,........
-if you don't want any result symbol only u want text in
the Result page
reporter.reportevent micDone,........
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rayudu
you can filter the results through
View | Filters and Uncheck "Warning".
Then the result window will show you only PASS FAIL and
Done results.
| Is This Answer Correct ? | 0 Yes | 0 No |
I have below user Defained function function AddTwo(ByVal a, ByVal b) Dim Ans Ans=a+b MsgBox Ans End function Now my question comes here...from given below methods which method is right to call above function?Which is Wrong and why? 1. AddTwo(2,4) 2. Call AddTwo(2,4) 3. AddTwo 2,4 4. Call AddTwo 2,4
How to break the object spy ?
Where you get the run time data table?
How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP?
When we use Object Spy? can we write QTP script before built is came in testing?
Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya
How does you pass optional arguments in qtp?
what are the different kinds of frameworks in automation?
what is descriptiveprograming? how to do object identification thrugh Descriptive and is possible smart identification or not
what is option explicit? what is the use of it?
1)what is the quality process in QTP? 2)how to add the .tsr file in qtp through scripting?
Diff between WEB APPLICATION AND CLIENT-SERVER APPLICATION?