How to use Regular Expressions in QTP
Answer / jay prakash
Use Regular Expression (RE) in QTP to search for a specific
string format within the AUT. QTP recognizes all those
values that meet the search criteria specified in the RE.
A RE is a string of spl charcters that defines the
condition of a search. For examle in Flight reservation
application a diff order number is generated every time you
run the test. To accomodate these changing order number u
can use check point with RE so that QTP can recognize the
generated order number.
| Is This Answer Correct ? | 4 Yes | 0 No |
How do we do DOM programming in QTP.Could you explain with an example. If possible please provide some material or link related to DOM Programming.
what is the difference between seat and concerent licenses.
What is the use of an object spy tool in qtp?
My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.
Have you used xml check point in your project?
What is an Regular expression doing in VBScript?Tell the pattern for the email verification.
Using QTP checkpoint, where do you store your expected Properties of the object which later compares with the actual properties of the object???
What is the use of Testing framework in Automated testing..what are different kinds of Testing frameworks available in Automated testing...
How to analyzing the checpoint results?
We have an application which generates links( more than thousand) based on the time stamp dynmically.Each link will download an xls file. we are supposed to click a particular link (which link to click will be obtained thru some buisiness logic).Now the issue is QTP is not recogniging the link(say Var1) though its properties showed mandatory fields text=xyz and html tag=A.I used following code to do this. Browser("ABC").Page("123").Link("text:=" &Var1,"html tag:=A").click, can any one suggest why this is not recognised by QTP though syntax is correct?(Is there any sync issue to be considered?Because on clicking the link it will take 5 mins to open that file)
if there r 10 windows open in QTP write a command to close all 10 windows at a time ?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma