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

Tell me the difference between QTP9.2, QTP9.5 and QTP10.0

1 Answers   Genpact, HSBC,


How to give Table check points?

4 Answers   ssinformatics,


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

0 Answers  


How i can use Regular expression in QTP?give detailed steps for it.

2 Answers  


how can i call an external action,which is not added external action of an action?

2 Answers   Ordain Solutions,






How many scripts do you write per day. What is the average number of scripts you have written in your recent project

1 Answers   CenturyLink, Optum, Value Labs,


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

0 Answers  


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

0 Answers  


from where we will retrieve data for data driven tests in qtp?

3 Answers  


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

0 Answers  


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

0 Answers   TCS,


How can I find out whether a word in a string is existed or not for example "QTP IS A POWERFULL TOOL FOR AUTOMATION" How can i find out whether "powerfull" is existed in the above string or not Could anyone answer it?

7 Answers   Livetek,


Categories