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 used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
how to lunch the application in the qtp tool ?
How to identify 2 versions of browsers based on regular expression
Write VB script to test given number is Prime Number
what are the mandatory and assistive properties of objects in QTP?What is attached text?Plz assist me with proper answer.
Hello, I am learning QTP. I have recorded test for Login page, i have also inserted checkpoint for Email field & when I run test it passed. But when i tried to run test by inserting 'Adding Parameter Values to a Data Table' for email & password field, it pass the first value in both the fields but after that when test run for second parameter values it displays 'Internet Explorer cannot open the Internet site, Operation aborted' & when i analyze test result it displays run time error 'Object disable'. I have also cleared all the history from IE but it is not working. Please help me. Thank you.
Can a function return a dictionary object?
what is aregular expression?
we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
6 Answers Cognizant, Covansys,
What is output value?
Hi All, I want to know how can we schedule QTP scripts. Am using 9.5 version and in our office they want to schedule individual scripts of QTP so that it can run unattended during night time, Please help me how to do that. 2. what is the use of silent test run in qtp can I schedule the scripts in Silent runner, Please explain. 3.I retrieved data from the database using output value -> Database output value. the result of the query for eg is 5 rows, iam able to output the first row by selecting the cols and adding it to output, but am not able to do it for the rest of the rows. please tell me how to do it. Sorry for posting so many qns, am not able to find answ to any of the above in any websites, hoping that someone would really help me with these here, please help me. awaiting for ur immediate revert. Priya
I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..