ALLInterview.com :: Home Page Forum9.Com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories >> Software >> Testing >> Automation-Testing >> QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
Question
what is the syntax for regular expression in QTP?
how to create user defined functions in QTP?
 Question Submitted By :: Naz
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the syntax for regular expression in QTP? how to create user defined functions in QTP?
Answer
# 1
Regular expressions enable QuickTest to identify objects 
and text strings with varying values.

You can use regular expressions when defining the 
properties of an object, the methods of an argument, when 
parameterizing a step, and when creating checkpoints with 
varying values.

A regular expression is a string that specifies a complex 
search phrase. By using special characters such as a period 
(.), asterisk (*), caret (^), and brackets ([ ]), you 
define the conditions of the search.

we can write the user defined in a notepad and save the 
file as .vbs and we then associate that to Test-Settings-
Resources-Associate Library Files by clicking plus and 
select the .vbs file.  In the script we can call the 
function with function name ()
 
0
Uday
 
  Re: what is the syntax for regular expression in QTP? how to create user defined functions in QTP?
Answer
# 2
Uday is exactly correct.........

I m giving one example 4 regular exp.........
  [1-9]--------->it accepts all 1 to 9 numbers......
 
0
Seethas
 
 
 
 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How will u test content of an web application with out using chechpoints in QTP 9.2? CTS2
what is qtp automation frame work,what is the use of that frame work? iGate19
dar Sir I am Facing th eProblem in QTP thet ,when I start thrcording inthe QTP for the ASP front end and C# the Coding Language I fing that recording is Done well for the Login screen but at the Time Running the script the QTP is Unable to Identify the Objects On the Objec Onht eLigin screen .Please answer the Question in Description and the Propables reason I might be facing alsp the Popable solution I have to Take thanks and ragards  1
Hi any body can tell me the synchranization point syntax thanks in advance AppLabs3
What is chaild object method? When we will go for chaild object method? How to use chaild object method?  2
It is a SQL question. Write a query to find top three salaries in an EMP TABLE?  4
In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data  2
In QTP if u got a defect , how to report to developer using Test director or Quality center . Wipro3
4. How u will open the build automatically in QTP except using Systemutil.run command  3
How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint) CFC2
How to do excception handling ( error handling ) in QTP Institute-for-Medical-Education5
does the vb script knowledge is mandatery in testing using QTP  1
What is object & properties (in QTP) Ordain-Solutions4
Hi, i am mallishwari, i am veryn ew to testing but i have very much interest in testing. plse give me some guidence to get the job in testing. send me required documents and faqs to my personal id: mallishwari_urs@yahoo.co.in thans for advance.  2
In Manual testing , can u prpare bug report in TD? TCS1
Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance.. Sony3
WHICH functionalities of QTP used in Banking project? Tarang2
How to capture screen shots when an error occurs?  2
What is the difference between Normal mode and Fast mode ? AZTEC1
hi gavasker i want how to merg OR's in QTP 8.2 by QTP Plus  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com