in qtp 3 sheets is there in data table like global, action1,
action2. I want to check the rows and columns in action2.
how can check using script?
Answers were Sorted based on User's Feedback
Answer / prasad reddy
Hi you can check the values by mentioning the sheet name
and column name
EX:Datatable.Value("ColName","SheetName").
Thanks,
Prasad
Is This Answer Correct ? | 9 Yes | 3 No |
Answer / kashinath hajare
Please check the following to check the rows and columns in
action2 or sheet2.
iTotalRowCount=DataTable.GetSheet("Sheet2").GetRowCount
For iCounter=1 to iTotalRowCount
DataTable.GetSheet("Sheet2").SetCurrentRow iCounter
value1=trim(DataTable.Value("value1","Sheet2"))
value2=trim(DataTable.Value("value2", "Sheet2"))
Next
Is This Answer Correct ? | 5 Yes | 0 No |
what is vmodel?advantages and disadvantages of vmodel?
How to get the column count and column name from the resultset in the database connection program?
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
Write a script to verify font style and color of a windows object using descriptive programming
Which company is better amdocs or techm ???
What is checkpoints for quicktest professional (qtp)?
Hi All, I want to know how can we schedule QTP scripts. Am using 9.5 version and in our office they want to schedule individual scripts of QTP so that it can run unattended during night time, Please help me how to do that. 2. what is the use of silent test run in qtp can I schedule the scripts in Silent runner, Please explain. 3.I retrieved data from the database using output value -> Database output value. the result of the query for eg is 5 rows, iam able to output the first row by selecting the cols and adding it to output, but am not able to do it for the rest of the rows. please tell me how to do it. Sorry for posting so many qns, am not able to find answ to any of the above in any websites, hoping that someone would really help me with these here, please help me. awaiting for ur immediate revert. Priya
what function you write to do database testing with the help of qtp?
I installed QTP 9.5 on vista. Can someone please provide me the license key of the same. Thanks, Avi
What are associated files in QTP?
What is the current version of QTP and now it is the product of Mercury or HP