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

Can we test GUI of the application using QTP.? How.?If possible briefly explain process.?

1 Answers   Wipro,


What is the difference between keyword driven frameworkd and Modularisation framework?(Chandana)

5 Answers   Wipro,


some times we write user define functions.where we write main and sub program,how,where to insert the functions in qtp?

2 Answers   GE,


To which environments does quicktest professional (qtp) supports?

0 Answers  


Up to how much VB scripting knowledge and what type of VB script knowledge is required for a QTP test engineer for real time to work ?

3 Answers  






how can we preform retesting(DATA driven test) using function please gine the code for loginpage

0 Answers   W3 Solutions,


How many function you use in your application?

2 Answers   Polaris,


HI, Anybody can explain Automation Test Framework...and wht do we do before start of Automation.....

5 Answers   Polaris, Siemens,


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

2 Answers   Infogain,


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

0 Answers  


my assignment is,how can i differentiate between readed & unreaded mails in my inbox ?, since for both readed & unreaded having same properties for both test objects &run time objects

2 Answers  


what is the main process in QTP?

3 Answers   Ordain Solutions,


Categories