Answer Posted / raju
it is Just like a Global variable related to Programming.
the Tester can use the Environment variable value in all
the actions just by specifying the name of the variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you compare keyword and expert view?
Explain sub procedure of vbscript.
What is the syntax to call one script from another?
How the smart identification is used in real time?Please explain with an example
How many types of recording modes in qtp? Which will be used when?
How to get popup error message.
What is difference between run time object and test object?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
What are the key points to create a framework in QTP for oracle forms?
How to give a call to another action from one action?
What are metrics and matrix?
What are the types of properties that quick test learns while recording?
Explain the difference between data driven testing and parameterization ?
How to open a new test using quicktest professional (qtp)?
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