hi all
can anyone explain how to write the code for finding the
mandatory columns in table which are having (red*)
(red Astrik)
Answer / Balbeer Singh
"To find mandatory columns in a QTP object repository that have a red asterisk (*), you can use the following VBScript code:nnFunction MandatoryColumns(objTable)nDim objCol, arrMandatoryColumnsnarrMandatoryColumns = Array()nFor Each objCol In objTable.ColumnsnIf RegExMatch(objCol.Title, "^**")nthen arrMandatoryColumns.Push objCol.NamenNext objColnReturn arrMandatoryColumnsnEnd Function"
| Is This Answer Correct ? | 0 Yes | 0 No |
How to use transactions in qtp?
give one example where you have used regular expression?
Maximum synchronizing time out in QTP
is it possible to change the date format like MM/DD/YY into DD/MM?YY through script in QTP
I want to check in the data table(Globalsheet) column exist or not through script .If column not exist only proceeded to next step Pls tell me how to proceeded?
Is it possible to run qtp scripts in Test Director(Scripts are uploaded in Test director)???and also how to see the test results in test director???
How to find duplicates in an array and remove them efficiently?
1.how can we report the QTP test result in a different excel sheet 2.
Can u explain about QTP framework
What are the steps involved in the recovery scenario wizard?
How to capture a window in qtp or how to take snapshot of any window while writing script in qtp
How can we write script for a .net application in QTP? Can we use VB Script for .net application.