I Scheduled a QTP Script on remote desktop. Script is going
to failure,when remote desktop connection fails.I have to
open my remote desktop untile the scripts exection
completes. If I disconnect my remote desktop connection,
script is going to fail. Could you please any assist in
this?

Answers were Sorted based on User's Feedback



I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connect..

Answer / sudha

Do not close or minimise the remote desktop.
Go to Start - > run of machine on which u are running
scripts type "tscon 0 /dest:console" and press enter
this will disconnect the pc from ur end leaving the PC
unlocked and scripts will execute successfully

Is This Answer Correct ?    1 Yes 0 No

I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connect..

Answer / ravi

Thanks... sudha..
Small correction to the above answer
"tscon.exe 1/dest:console"
Put 1 inplace of 0. Its working fine for me.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric

0 Answers  


What is the extension of qtp local repository?

0 Answers  


Did QTP prove efficient for your project? Yes or No, explain?

0 Answers  


Is text area check point supports for web applications?

0 Answers  


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

0 Answers  






Can we write winrunner language i.e TSL in QTP tool?

0 Answers  


what is the difference between quality and testing ?

2 Answers  


Hi, OUR PROJECT NAME IS: HOSPITAL CONTROL SYSTEM. IS IT COMES UNDER WHICH DOMAIN(HEALTH CARE OR HEALTH INSURANCE)

4 Answers   Four soft,


HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...

0 Answers  


How to make arguments optional in a function?

2 Answers   Crea,


Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?

1 Answers  


How to record right click of a context menu and click on the selection ?

3 Answers  


Categories