write a regular expression pattern for xyz?123?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version

1412


What are the different types of recording modes in qtp? Which will be used when?

572


Explain the concept of object repository & how qtp recognizes objects?

572


What is object spy in quicktest professional?

619


Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com

1454






How does you pass optional arguments in qtp?

565


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1440


Explain more about the Test Fusion Report of QTP?

607


When using descriptive programming?

637


What are the different recording modes?

563


How to recognise the webelement and verifying that webelement is enabled?

1647


How many tabs are available in debug viewer pane?

649


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

1466


What are the ordinal identifiers in web page?

641


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1420