how to generate numbers in between to numbers suppose
numbers in between 500 to 1000 in sequencies using vbscript
Using loops in vb Script, you can generate numbers between
specified range
E.g:
For i= 501 to 1000
Reporter.ReportEvent micPass, "Value: " & i, "Number
between 500 to 1000"
Next
'gives the output as 501,502, 503, etc...
If you want generate random number between 500 to 1000, use
the function "RandomNumber(inbuilt function of QTP, but not
VB Sscript function)
E.g: var_Num = RandomNumber(500,1000)
| Is This Answer Correct ? | 1 Yes | 0 No |
What is output value in QTP? Why do we use the output value in QTP?How many types of output values are there in QTP? what are their respective usage in QTP?
How to add a standard checkpoint in your test ?
how we connect oracle or sql data server database to qtp
Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the recorded object due to which script is going to fail.so can you tell me how we can handle this situation and i have another concerened issue is that at the time of run New errors comes every time so how we can handle this sitauation how we can add Recovery scenarios to the script.some time application runs successfully and some time it produces new error thats why i am facing lot of problem please give me the sugeestion as soon as possible.
Give me exact application where we should use low level recording?
Could you please explain me about QTP framework.
What is the difference between low level recording and analog recording mode when it will be enabled.
Explain the concept of Output values in Quick Test Professional?
why is execute file used.
1)Difference Between Value & RawValue?
If I give some thousand tests to execute in two days what do you do?
When to use shared and local object repository?