How do u write a regular expression for date (dd/mm/yyyy)
field ?
Answer Posted / chandradeep
(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 |
Post New Answer View All Answers
Where you are storing your script?
How many ways is to parameterize the value?
Explain the concept of object repository and how quicktest professional recognises objects?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
How to execute a winrunner script in quicktest professional (qtp)?
What is the use of sendkeys and what are send keys
Explain how Does Run time data (Parameterization) is handled in QTP?
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
Which features or drawbacks of QTP lead to the upgrade for a newer version?
Where we can use the synchronization?