write a regular expression pattern for xyz?123?



write a regular expression pattern for xyz?123?..

Answer / nagaveni n

case 1: xyz?123? - if xyz is varying then
regular expression pattern would be
Re = .*\?123\?

Case 2: xyz?123? - if 123 is varying then
regular expression patter would be
RE = xyz\?[0-9]*\?

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More QTP Interview Questions

how to use command prompt using qtp?

8 Answers   HCL,


how to retreive the xml file data through qtp.can anybody send script for this..

1 Answers   Synechron,


What is an object repository?

0 Answers  


I want to scroll down in MSPAINT (captured a screen already). So that I can read the data in it through the step Window(paint).GetVisibleText for my validation. Anyone know the scripting for this?

1 Answers   TCS,


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

0 Answers  






actuall wat my doubt is:while doin regression testin we enter all +ve & -ve data....system has to accept +ve and reject -ve data.in such case we get a popup window sayin that wrong entry...now i wan to overcome this popup window..how do i go further....plz explain.i tried thru rec.scenario but of no use.

1 Answers  


how to test globalisation testing using qtp? lets take an example: suppose i have to test the word is in hindi "ratikanta", how we test it by using descriptive programming or any method??

2 Answers   Siemens,


need clear explanation of actions and functions in qtp with examples?can anyone suggest me gud site for that other than qtp manual?

2 Answers  


How to identify whether a web page exists or not without using Browser(" ").Page(" ").Exist?

1 Answers  


1)what is the quality process in QTP? 2)how to add the .tsr file in qtp through scripting?

1 Answers   L&T,


what is Property......End Property loop? how to write sript for it in QTP

0 Answers  


How to convert QTP's ObjectRepository.mdb file to xml file

1 Answers  


Categories