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 Posted / 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 |
Post New Answer View All Answers
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
How many types of recording facility are available in quicktest professional (qtp)?
What is checkpoints for quicktest professional?
What is the basic concept of quicktest professional (qtp)?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
What is an object repository?
Output values? i want a practical example
What are metrics and matrix?
How to capture a window in QTP?
How will you find the current time of the remote machine using QTP script?
What is qtpro? What is quick test pro? What is a quick test professional?
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
Explain about the test fusion report of quicktest professional (qtp)?
Hi How to retrieve data from web element line by line?
Dis advantages of XML checkpoint ?