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
In qtp is it possible to check broken links of a page?
What is checkpoints for qtp?
Why bpt?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What is fragmentation and paging?
What is quicktest professional window?
What are the different types of recording modes?
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
Which environments does qtp support?
What is CMMP and CMMH?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
Shall we add Local Repository to shared object repository,if yes,how we add
How to analyzing the checpoint results?
How will you test a keyboard?
Can we write winrunner language i.e TSL in QTP tool?