How can I test the unix shell in QTP
Answers were Sorted based on User's Feedback
Answer / ramchandra patil
Hi Keshab,
we can run shell script commands(DOS commands) in windows
environment...as QTP support only windows operating system...
you can create object of Wscript.shell as below n can
execute commands..
eg.
Set obj=CreateObject("WScript.Shell")
WshShell.SendKeys “%fâ€
please guys let me know if Iam wrong and what is psbl
correct amswer..
Thanks,
Ramchandra Patil
9699851282
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / keshab
yes it is possible we can use shell scritping language in
Unix & linux environment
| Is This Answer Correct ? | 1 Yes | 4 No |
How do we analyze the checkpoint results?
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
Hi friend I have query regarding QTP datatable. I want to insert data in datatable during runtime. suppose i wrote datatble.value(1) = "Test data" so when i run the script it says column(1) doesn't exist. Then i write something in column A1 manualy and run the script again. Now it works fine. Pls clarify how i can put value in blank cell of datatable.
How to check feasibility of the appliction?in automation testing?
How do you configure QTP AND Test director?
How open an excel sheet in QTP(not a run time )?
Should have experience in framework means?
How the automated tests in org
How the smart identification is used in real time?Please explain with an example
Hi,will U Please Provide me details certification for QTP &QC and also please provide me the Material also. Send to mail:jjaanu2mail@gmail.com
What is CMMP and CMMH?
A dialog is diplays " Transaction 254689 has been successfully completed" How to get the transaction ID from the message ?