Regular expressions.....
Actually how to use this and what is the exact syntax and
can anybody can help me out this with example.is there any
docs pls send to my mailid rvreddy82@gmail.com
Answer / its me
It is used for dynaic changing value like in supose number is varying from 51,52,53
'Regualar Expression syntax
Set Rx= New.RegExP 'regular expression object
Rx.Global = True
'Set true if you want to check more than one occurance string else fails
Rx.Ignorecase = True
'Set true if you do not want case senstive
Rx.Pattern = "(5[1-3])"
x = Rx.Test (Str)
if x = true then
msgbox "Matach"
Else
msgbox "Not Match"
End if
| Is This Answer Correct ? | 0 Yes | 0 No |
What are they Advantages and Disadvantages in QTP 9.2?
4. what is the use of Text output value in Qtp?
How u call functions in QTP
By using QTP, How do you test a frame in a web page?
how can i call function (which has link with excell sheet at a remote location) within another function
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
Can we use Virtual Objects in Discriptive Programming?
what is the difference between function and subroutine ....here every one knows theoretically...here my QUESTION IS WHAT IS THE MEANING OF FUNCTION CAN RETURN A VALUE AND SUB CAN NOT RETURN A VALUE .....WHAT DOE'S IT MEAN FUNCTION CAN RETURN A VALUE HOW FUNCTION CAN AND SUB CAN'T ....GIVE A EXAMPLE FOR BOTH ....HOW IT CAN AND CAN NOT...HELP ANDY ONE....
how to add run-time parameter to a datasheet?
1 Answers Mphasis, Ordain Solutions,
how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp
13 Answers College School Exams Tests, Mind Tree,
How to use parameterization in qtp?
How to break the object spy ?