How do u write a regular expression for date (dd/mm/yyyy)
field ?
Answers were Sorted based on User's Feedback
(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d
0 - selects '0' Literally
[1-9]- selects the range between 1 to 9
[012] - selects either 0 or 1 or 2
[0-9] - selects the range between 0 to 9
[- / .] - selects either - or / or .
(19/20) - selects either 19 or 20 literally
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / ghazal
([0][1-9]|[1-2][1-9]|[3][0-1])-([0][1-9]|[1][0-2])-d{2}
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / a
(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)
[0-9]{2}
Is This Answer Correct ? | 3 Yes | 6 No |
How can you delete the results file (XML)
write progamming connecting QTP to database sql? this is question asked by interview? pls any answer this?
What is Associate Repository in QTP 9.2 ?
what is objectidentification?
Hi, how can we check or avoid the memory leakage in QTP9.2?
How to handle dynamic objects in quicktest professional?
I am using "QTP 9.0" in my system, need to install java add-ins to test the java based applications, please prvide information from where i can get those java add-ins for QTP 9.0
Given a string variable contain a full name (last name, first name), using vbscripting, how can you extract first and last name and save them into two different variables.
What are the various versions of QTP that have been released so far? Please also mention the year of release for each version
How qtp recognizes the object?
Key word driven framework
Hi all, On recording a particular Web application with QTP,Have came across a problem for which I havent found a solution so far.. The script of importance is as follows: Browser("Personalized Start Page").Page("XYZ").Frame ("mainFrame_4").Link("address.csv").Click Browser("Personalized Start Page").Page("XYZ").Sync Dialog("0% of dms.php from XYZ-").Dialog("File Download").WinButton("Save").Click My problem is that on recording the application with QTP and clicking the "address.csv" link another browser window comes up temporarily followed by the Windows "FileSave" dialog.The browser window which came up closes down when the Windows "FileSave" dialog is visible and I save the file to a windows location. On the "Record and Run" settings under Qtp,have activated settings for web and windows applications. But when I run this recorded script,and after the "address.csv" click,The browser window comes up and goes down,No Windows "FileSave" dialog comes up and the QTP shows the error Dialog("0% of dms.php from XYZ-") object is not found,though this object is there in the repository. Have tried putting the Dialog("0% of dms.php from XYZ- ").Exist property.But the "Exist" property is not recognised by the dialog at all. Any help in this direction is appreciated.. Thanks in advance J