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 |
How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me
Write test cases for copy and past password in password field ?
why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all..
As u told write Libarary files in QTP. Do u use ever oject repositary 0r spy while writing scripts and for which type of testing u prepared test scripts.
For Usability testing, which is preferable Automation or Manual?
How to call script1 into script2?
datatable.Import("E:\Programming Samples\QTP Samples\OrderNumbers.xls") Asume we have 4 records in datatable Code reads the 4 rows in the sheet ok, but does it 5 times? It doesn't sound like closing the datasheet is the problem Can we close the datasheet runtime ?
In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?
Did u use check points during ur work experience ?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
what is throw object ?