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



in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and ..

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

in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and ..

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

Post New Answer

More QTP Interview Questions

I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.

0 Answers  


Hi How to retrieve data from web element line by line?

0 Answers  


How to retrive the property of an object?

5 Answers  


In how many ways we can add check points to an application using QTP.

4 Answers  


What is Version control?

3 Answers  


What is the difference between two actions?

1 Answers   Wipro,


How can I map test requirement to Test Set (multiple test cases)? Under test lab, I have multiple test cases. I would like to map 1 requirement to all test cases under that test set (in test lab)? Currently, I think QC only allow mapping 1 test requirement to 1 test case. Instead I would like to map 1 test requirement to multiple test cases under one test lab.

4 Answers   CarrizalSoft Technologies, DST Global Solutions,


what kind of erros can be handled with the using QTP?

2 Answers   CTS, Satyam,


regular expression

2 Answers   Wipro,


How to Analyze the Checpoint results by Text/Text Area Checkpoint?

1 Answers  


how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp

13 Answers   College School Exams Tests, Mind Tree,


How u call functions in QTP Function to calculate the length of characters in a word -

5 Answers  


Categories