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
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 |
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 |
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 |
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 |
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 |
Answer / aravindh
Hi,
Try this to Close the Notepad at RunTime,
SystemUtil.CloseProcessByName("notepad.exe")
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
I want to open a text file and then search some specified text in it and then replace that text with some other text i found that text in .txt but do not know how to replace that text can any body help me. if possible put the code for qtp
Thanks Rag... One more question, How we test the dynamic images which frequently changed?Using the bitmap checkpoint r any other options available.... Can u give the steps pls... Thanks
How will you declare a variable in qtp?
how to select the work for complete automation and one more thing when u are going to choose automation
How to capture a window in QTP?
Can we install QTP on remote server and access it as a web application on other system (client place)? If so please let me know. Thanks in advance, Ravi
how can I read text in browser and export the same into text file?
how i will connect oracle or microsoft acess database through manually written Script
Explain the concept of how quicktest professional identifies object?
What is object spy in quicktest professional (qtp)?
What is diff between SDLC AND STLC?
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all