How to retrieve alpha bate from the alphanumeric string with
special character.
Answer Posted / shekhar
a="she25bh3k"
set reg=new regexp
s1="[a-z]"
reg.pattern=s1
reg.ignorecase=true
reg.global=True
set matchs=reg.execute(a)
for each match in matchs
a= match.value
''msgbox b
str=str&a
Next
msgbox str
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the quicktest professional testing process?
What do you to script when objects are removed from application?
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
What are the challenges you faced during you entire life automation ?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.
What is object repository in qtp?
What are the features supported by UFT?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
how will you check how many members visited the website www.infosys.com?
Explain data driven framework?
what is object and child object.. explain ..if possible give some example for better understanding ..
wht type of User defined functions or Java Releated functions Do we write in VB scripting
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com