how to get column count in datatable
Answers were Sorted based on User's Feedback
Answer / raju
colcount = datatable.GetSheet(Sheet name).GetParametercount
using above GetParameterCount u can get how many columns in
Datatable.
| Is This Answer Correct ? | 20 Yes | 8 No |
Answer / vishakha
ColCount = DataTable.GetSheet(dtGlobalSheet).GetParametercount
msgbox colcount
OR
ColCount = DataTable.GetSheet(1).GetParametercount
msgbox colcount
| Is This Answer Correct ? | 3 Yes | 5 No |
What is keyword driven framework, what is "key" in It.
Object Repositories types, which & when to use?
In Descriptive programing if i use this below code will it work for login window or flight Res Window. Shud i add the properties like attached text=login and text=Agent Name in the object repository and define a new object first. Pls tell me the procedure in clear inorder to execute this script. Dialog("title:=Login").WinEdit("attached text:=Agent Name:").set"agent123" Dialog("title:=Login").WinEdit("attached text:=Password:").set"mercury" Dialog("attached text:=Login").winbutton("text:=OK").click
what is On Error Resume Next ?
can anybody give me the links for vb script material
How to Compare two database tables by using QTP?Please give me code details.
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
How to load the object repository at run time?
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
when we apply the daily build each and every day,the property may change in the application.so that the created script is not reusable in winrunner and qtp.for ex for date field it is taken dtpicker.at another time it is taken some other name.how can i solve it.
Why a framework is needed?? Plaese post your answers ASAP
Write a script to customize the test results in PDF and HTML format.