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 we QTP Scripts in xml format? is there any way to do so?
Is it possible to change the property value at runtime? How it is possible?
How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..
How Qtp will identifies object during run time
hello everyone, can anybody please tell me what are the different recording modes of QTP, and where these recording modes are present in QTP 9.2. Thanks in advance, Gaytri
Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?
how will you load the test cases in ddt?
Tell when we call the function? tell with example.
In qtp, explain what is crypt object
Hi, I Need code to click the webbutton inside of webtable. I need to click a particular 'Edit' webbutton inside of webtable. For Example... Having 5 Rows and 10 Columns. 'Edit' webbutton are placed in 10th Column. I need to click the 3rd row 'Edit' button with unique value. Browser("....").Page("...").Frame("...").WebButton("btn_Edit ") I Tried with below code: Set objButton = Browser("...").Page("...").Frame("...").WebTable("...").Chil dItem(3,10, Webbutton,0).Click - Not working this code :( Anyone can help me to sort out this simple issue ???
If an application name is changes frequently i.e while recording it has name "Window1" and then while running its "Windows2" in this case how does QTP handles?
What is throw Object?