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

Is it possible to change the property value at runtime? How it is possible?

0 Answers  


Hi Friends, I have an application that is having some options to choose. While doing business transaction I need to select one option among from available options. But here the thing is, we won't get one option which we've chosen already and the available options will get automatically from the system with time basis, moreover each and every option having with various label names respective to that option. So obviously if I run my recorded script will automatically gets fail, even though it got pass at first time. Could anyone please give me appropriate solution for this. I would be greatly obliged with you if you give the solution as soon as possible.

1 Answers   Zensar,


Hi,Every one,my name is RAHUL,aim wondering if any one got QTP software? If yes,can u plz knock on to gchinthakindhi@gmail/yahoo.com. THANK U.

2 Answers  


can u tell me website address of VBscript with examples.

2 Answers  


how to acess a test in RSA?

0 Answers   IBM,


wht is Manual Testing Frame work. Pls anybody can give appropriate answers

0 Answers   Satyam,


How to create runtime property for an object?

0 Answers  


what is smart identification?

7 Answers  


how to pass parameters from one action to another using output parameters I am not calling action 2 from action 1, they are being called individually I need syntax please .. Requirement: Action 1 customer = Browser(" ").Page(" ").Link(" ").GetROProperty("value") I want to use the value stored in customer in Action 2 I do not want to use any of these actions as re-usable actions

2 Answers  


How to import the Test Results in QTP to an Excel sheet

4 Answers   Sonata,


How to swap two numbers by using parameter passing method byref in a fucntion and return the result to outside of the function?

1 Answers   CTS, IBM, London,


How u call functions in QTP

5 Answers   Lehman Brothers,


Categories