What is difference between the For..Next and While..Wend
statements?
Answers were Sorted based on User's Feedback
Answer / minal
For loop executes a block of code for a fixed no. of time where as While...Wend statement uses a condition to control the number of iterations to be run.
The loop continues as long as the condition expression is True.
| Is This Answer Correct ? | 54 Yes | 19 No |
Answer / durrya saman
The while loop is usually used when you need to repeat something until a given condition is true. On the other hand, the for loop is usually used when you need to iterate a given number of times
| Is This Answer Correct ? | 17 Yes | 3 No |
Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displayed Open link,open link in new window,save picture as, Email picture,Printpicture,propeties...etc. While automation I have written a code like this 'browser("Google").Page("ramseeker®: Memory and_3").Image ("graphOfModel").Click 10,10,micRightBtn But the right click menu was not displayed. I want to save that image in a seperate folder
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.
how will u choose a tool for test automation ?
What is difference between Quality centre and Test Director?
results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file
HI All i need one suggestion.is there any companies taking corresponding degree courses. i have 3+ yrs exp in QTP and i am working north side. iam looking for job in south.
How to analyzing the checpoint results?
what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?
four browser are open same application i want to enter 3browser how?
IF there are seven browsers with same name open. I want to close one particular browser thru QTP. how can i do this?
in how many ways we can write the user defined functions one way i know that i.e storing it in .vbs another way i does not know my friend said that .qtf or something but start with q letter can any buddy knows about this
How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..