Write a code check the checkbox in the web table which is in
the 4th row and fifth column (Use child item concept)
Answer Posted / uday
set cbObj=browser(browserObj).page(pageObj).webtable
(webtableObj).childitem(4,5,"WebCheckbox",0)
cbObj.set "ON"
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
How will internal and external links be validated and updated? how often?
How to find Operating system information using QTP script?
Explain the features and benefits of quick test pro(qtp)?
Can we create a qtp test from qc?
How is a Step generator used in UFT?
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
How to test fly out menu in qtp?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
What is synchronization? What are the ways you can synchronize?
can u please explain what is the exact difference between qtp8.2 and 9.0
Mention what are the different types of recording modes in qtp? Which will be used when?
How can I import environment from a file on disk?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
what testplan contents and what test strategy contents,what is the diff b/w them
how can we do the frame work in qtp