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 |
Hai anyone please "Explain about Framework in QTP?"
we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position
write script for finding number of broken links in web page? kindly please answer my question.
3 Answers Manhattan, Oracle, Virtusa,
Hi friends I am new in Qtp. now i am Searching on Qtp give real time inter questions with answers.pls help me
i want click on a link which is in 3rd row and 2nd column of a web table.write script to execute
i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself
What is the difference between "Call to copy of action", "Call to existing action" & "Call to winrunner action"?
where did you automate in your project?(please tell me example senarios)
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
What is object repository in qtp?
QTP supports both client server and Web applications. Does it support Plug-in?
What is output value in QTP? Why do we use the output value in QTP?How many types of output values are there in QTP? what are their respective usage in QTP?