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 |
Explain the types of object repository?
The hybrid framework can be implemented for any application. Is it true?
how to click on object? (with out knowing the object details) for ex: in a webpage one link is available.i want to click that link by using one menthod through qtp?
waht is the difference between QTP 8.2 and 9.0 version
15 Answers AppLabs, CTS, Polaris,
Explain the check points in quicktest professional (qtp)?
Explain getroproperty and gettoproperty & settoproperty?
How to change the scripts from Per-Action object repository to shared object repository
What are the main features we have to compulsory test by using qtp in an web based application
What is diff. between ordinal identifier INDEX and Location?
We have a text file which contains 1 to 100 numeric values sequentially like 1 2 . . 100 Now we have to count them and transfer to XML file by writing a code in qtp.
In my application there is a billing thru credit card. how to validate the credit card details(min balance,credit card no,card holder name).if these details are valid then only that booking will be done.how to validate these details thru automation or manual?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", Second button "html id:=btnSave "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", Third button "html id:=", outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab Fourth button "html id:=btnSave outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"" 5th button "html id:=", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">",