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

can QTP works on LINUX platfom

2 Answers  


How QTP support all types of applications (platforms)?

0 Answers  


What is the quicktest professional (qtp) testing process?

0 Answers  


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

0 Answers  


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

0 Answers  






HOW TO CONVERT MANUAL TEST CASES IN TO AUTOMATION TEST SCRIPTS EXPLAIN THE PROCESS?

0 Answers   ADP,


What is qtpro?

0 Answers  


What is system testing and what are the different types of tests you perform in system testing?

0 Answers  


Can we run test with out adding object in object repository? How it is possible?

0 Answers  


How to "Turn Off" QTP results after running a Script?

4 Answers  


What are the differences between qtp and winrunner?

0 Answers  


Suppose Object name was changed in the application in the second build.I have just modified the name in the Object repository as changes in the Application. Is it possible to accure changes in the script accordingly? If so Suppose I am calling the script through function, Will the changes affect in the script(which is in the function)automatically? If not affected, tell me the solution,How to handle this. How should I change the object property name while using functions

4 Answers   Livetek,


Categories