Answer Posted / sreeprasad
Creates and returns a reference to an Automation object
syntax: CreateObject(servername.typename [, location])
Arguments
servername:Required. The name of the application providing
the object.
typename : Required. The type or class of the object to
create.
location : Optional. The name of the network server where
the object is to be created.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the five challenges you faced in QTP?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
What is qtpro? What is quick test pro?
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
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.
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
what is the structure for the data driven framework
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
Problem with XML checkpoint in QTP ?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
what is the mail use of frame work(with detail). architecture for keyword driven frame work
Where is the Bitmap checkpoint information stored?