Write script to fetch the data from global sheet where row
number is 3 and parameter is "text"

Answers were Sorted based on User's Feedback



Write script to fetch the data from global sheet where row number is 3 and parameter is "text..

Answer / kishan

Here is the code:

SheetName="Global"
Datatable.GetSheet(SheetName).SetCurrentRow(3)
print Datatable.Value("Text",SheetName)

Is This Answer Correct ?    10 Yes 2 No

Write script to fetch the data from global sheet where row number is 3 and parameter is "text..

Answer / sonal

msgbox (datatable.getsheet("Global").getparameter("Text").valuebyrow(3))

Is This Answer Correct ?    1 Yes 0 No

Write script to fetch the data from global sheet where row number is 3 and parameter is "text..

Answer / pushkar1206

datatable.SetCurrentRow(3)
a=datatable.Value("A",dtglobalsheet)
msgbox a

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

How to take screenshots in qtp?

2 Answers   Sonata,


How do we analyze the checkpoint results?

0 Answers  


can we change the name of a check point? when will you start writing testcases? do you follow any methodology for writing test scripts? qtp is key word driven testing or data driven testing?

2 Answers  


If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?

7 Answers   Covansys,


What is the use of running the scripts in Hidden-mode in UFT?

0 Answers  


Will QTP gets installed on virtual PC.What is the maintenance number to be given

1 Answers  


Explain how Selenium is different from UFT?

0 Answers  


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

0 Answers  


Can objects recognised without repository?

5 Answers  


I have one question as HP QTP is concern, Please send your answers..... Can we do testing of any application without using any of the framework which are we used in QTP tool. If yes then how it can be possible in the HP QTP tool. -- Regards

5 Answers   ABC,


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

0 Answers  


how to create user defined functions in QTP? can any one expalin me with example.. Thanks in Advance for help

4 Answers  


Categories