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
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 |
Answer / sonal
msgbox (datatable.getsheet("Global").getparameter("Text").valuebyrow(3))
| Is This Answer Correct ? | 1 Yes | 0 No |
datatable.SetCurrentRow(3)
a=datatable.Value("A",dtglobalsheet)
msgbox a
| Is This Answer Correct ? | 1 Yes | 0 No |
Hi, When iam trying to import sheet to the QTP Global data table at the run time using the Importsheet method.It is able to import the sheet but no data is present after the import due to which the test is failing.Could anyone suggest what should be done. When I open the actual excel sheet data is present and is not corrupted.
What are the technologies supported by qtp?
Have you used xml check point in your project? How?
Explain the difference between call to action and copy action?
How to Analyze the Checpoint results by Standard Checpoint?
How to export data in excelsheet to qtp without using datatable.
Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"
How to run scripts 1,29,3,5,7,2 scripts using test batch runner in QTP.... Ie...I wanted to run scripts not in an order 1,2,3,4,5...like that How it is possible using test batch runner... I dont want hardcoded script
Can any one tell me Difference between Keyword Driven Frame work and Hybrid framework? Its Urgent.
what are the metrics in general we use in testing.
There is an excel file of 1 to 100 sheets how you will iterate through it?
how can we know the program is testing by multiple test data in data driven frame work?