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

Answer Posted / sonal

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Generic function to search for the unique link in webtable and click on it

2479


How you can decide which type of object repository you have to use?

696


How many ways we can parameterize data in quicktest professional (qtp)?

579


To which environments does quicktest professional (qtp) supports?

581


There is an excel file of 1 to 100 sheets how you will iterate through it?

522






How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is

6296


what is the structure for the data driven framework

1477


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

572


Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.

2397


How do you create regression test packs?

606


What is the difference between shared and local object repository?

612


How to open a new test using quicktest professional (qtp)?

524


How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

2565


What are the common defects found in your project? (in qtp interview)

1608


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

1571