can a Function return more than one value..??? if so please
give me the code for that.
Answer Posted / prasad
Function alway returns one value. only action in QTP
returns more than one values.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
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
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
How you can write contexts to text file in qtp?
How to start recording using quicktest professional (qtp)?
What is the difference between shared and local object repository?
Brief the process of testing with UFT?
When to use descriptive programming?
Which scripting language used by quicktest professional?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
Explain how to use QTP to check broken links on a page?
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
What is the use of an object spy tool in qtp?
Discuss quicktest professional (qtp) environment?
Can you brief the hurdles you faced during Automation testing?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?