How do u write a regular expression for date (dd/mm/yyyy)
field?
Answer Posted / amarendra kothuru
The above regular expression(Ans:1) will fail as it allows
day between 31 to 40 as well.
The following regular expression takes care of all cases
and validate the format (dd/mm/yyyy)
(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[012])/\d{4}
Is This Answer Correct ? | 22 Yes | 15 No |
Post New Answer View All Answers
If created one virtual object? Next time I changed the window position will it work?
In qtp, how you can exit for loop?
what type of run time errors you get while you ar edoing rpg program?
what is review
what could go wrong with test automation?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
Explain the qtp test phases.
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
How does you test a weblink which is changing dynamically?
what are the utilities and drivers
How to use debug tools?
What are the different types of action?