Hi Guys, here I am posting one question.

Wen u r working with Notepad. If it is not responding in
the middle of TEst...what u will do.

Answers were Sorted based on User's Feedback



Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding i..

Answer / nanda

if dont have answer dont post..ok. dont post this type of
answers again pls. this is one of the interview question.
ofcourse this was occured in real time also.

Is This Answer Correct ?    2 Yes 0 No

Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding i..

Answer / siraj shaik

If notepad is not responding in the middle of the process,
No other operations can be done on notepad so simply skip
the process by putting On error resume next statement
before starting notepad operations and show remark by
displaying message box or display remark in result window.

Is This Answer Correct ?    1 Yes 0 No

Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding i..

Answer / ashis

There can be many answers for this one -

1. One will killing the process notepad.exe .

2.Second will be getting the text using mercury.clipboard
object and killing the notepad process .

The text copid in the clipboard can be pasted in any new
notepad window.

Is This Answer Correct ?    0 Yes 0 No

Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding i..

Answer / mercy

As notepad not responding is an unexpected event and also
this might not be the case every time, you should go for
recovery scenario.

Is This Answer Correct ?    0 Yes 0 No

Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding i..

Answer / rani

hey guys
can u plz explain this how to kill the note pad for this
any specific function is there

Is This Answer Correct ?    0 Yes 0 No

Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding i..

Answer / aravindh

Hi,

Try this to Close the Notepad at RunTime,
SystemUtil.CloseProcessByName("notepad.exe")

Is This Answer Correct ?    0 Yes 0 No

Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding i..

Answer / pal

WHIT I DO NOTHING . I REMOVE THIS THOUGHT FROM MY BRAIN .
AND YOU TO DO THIS...

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?

1 Answers  


What is checkpoints for quicktest professional (qtp)?

0 Answers  


How to capture a window in qtp or how to take snapshot of any window while writing script in qtp

3 Answers  


Hi All Below is my script which i made for lgin into Flight.exe. SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open" Dialog("Login").WinEdit("Agent Name:").Set DataTable ("p_Text", dtGlobalSheet) Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure DataTable ("p_Text1", dtGlobalSheet) Dialog("Login").WinButton("OK").Click If Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").Click datatable.Value(3)= "Incorrect password. Please try again" Dialog("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)="Please enter agent name" Dialog ("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)= "Please enter password" Dialog("Login").WinButton ("CANCEL").Click else Window("Flight Reservation").Move 309,146 datatable.ExportSheet "C:\Raj\Result.xls" ,1 Window("Flight Reservation").Close End If I want to capture the Message string from Dialog("Login").Dialog("Flight Reservations" Also pls let me know if this is the right way to do the script for login. Pls provide some script for login Flight.exe Thanks in advance Raj Dhiman

1 Answers  


Hi, Can anyone help me in esimating time for an application using QTP tool.. What factors should be considered while calculating the estimation time for QTP... Thanks in advance... Prasad Gali

3 Answers  






How to add synchronisation points in qtp?

0 Answers  


what is framework in QTP? any one give me answer

4 Answers   Wipro,


what is the exact testing process in qtp plz explin ?

2 Answers  


which type of testing process are you following in ur company? how to recognize a qtp page?

0 Answers  


I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.

2 Answers  


By using QTP, How do you test a frame in a web page?

4 Answers   TCS,


How to pass parameters into an action.Please explain me with examples

5 Answers  


Categories