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"
Answer Posted / bkiranratna
textVar=browser("").page("").webtable("").getcelldata(8,1)
(table object will come only in web applications.)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many types of trigger events are there in qtp?
Can any body please tell me the steps of keyword driven framework of QTP.
What is synchronization point in QTP?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
How many types of recording modes in the qtp?
what are the utilities and drivers
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
How many tabs are available to view your test in a test pane and what are they?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
What is system testing and what are the different types of tests you perform in system testing?
Explain the new feature of UFT regarding the export of test results?
Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version
How many ways we can parameterize data in quicktest professional (qtp)?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
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