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 |
How to remove associated function library?
How to do Batch run in qtp? provide the steps?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
How to perform action on objects, If two objects have the almost the same name ? example : Object 1 : "Entry of Items" Object 2 : "Items" Whenever I ask QTP to perform an action on Object 2 it performs action on Object 1. Note: The two objects are present in an Oracle Application tree.
At a time how many users can access QTP?
Find the 'String' from excel sheet and save to another sheet.But we don't know the string column number and row number?
what is spy, and how can u use?
How to create runtime property for an object?
How do you configure QTP AND Test director?
How many types of Recordings are there in QTP and what are they?
7 Answers Dangote, First Indian Corporation,
When to use Descriptive programing?
My Project is HOSPITAL CONTROL SYSTEM. In this MY testing modules are In-patient and Out-patient. plz explain those modules. i.e. How explain to Interviewer. with full details also . Waht types of bugs we can fond ? NOTE : IT is a web project plz urgent.