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
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 |
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 |
Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with out scenario
What does Reporter.Reortevent2 does?
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
whenever a scenario is recorded ever, it creates a object repository automatically (‘per action’ /local ). we do not need to make them individually…then why we need a shared object repository. How it will be practically utilized ?? your input will be highly appreciated..
How to connect to data base?
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?
Hi I have created a table in the MS access database. I want to access the table in this database through QTP. The code is given below. The code is not working.The following error is displayed "Data source name not found and no default driver specified". Any one can correct the code. Thanks in advance. Dim dbconnection, rs Dim ca, sname Set dbconnection = createobject("ADODB.Connection") Set rs = createobject("ADODB.Recordset") dbconnection.open "DSN = MS Access Database","", "" rs.open "select * from Research", dbconnection rs.movefirst If rs.EOF <> True AND rs.BOF<> True then ca = rs("order_number") sname = rs("customer_number") rs.movenext msgbox ca msgbox sname End If
How to change the run-time value of a property for an object?
whaht is the difference between CLASS & OBJECT?
1. how can you handle exceptions without using recovery scenario?
Please any on explain usage of "on error resume next","On error goto 0" with sample code....Thankyou......... when a tester is asked to execute 100 scripts in a short time..(the server will be down in another 10 min)..how he has to run those scripts?
Hi, Can anyone tell me what type questions can be ashed in interview on QTP?