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 advantages of test automation?
How to swap two numbers by using parameter passing method byref in a fucntion and return the result to outside of the function?
i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself
What is a Dictionary object in QTP.?
Could some one explain me how to create folder on the desktop from QTP?? This is an interview question
how we connect oracle or sql data server database to qtp
what is the extension for QTP files?
could any help me please, how to work on visual foxpro application using UFT
In where you are keeping or maintaining shared object repository (file)in your appliction?
QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
How is the Bitmap checkpoint different from Image checkpoint?