Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

is it possible to change the date format like MM/DD/YY
into DD/MM?YY through script in QTP

Answer Posted / guru

DD = Day(now)
If Len(DD) = 1 then
DD = "0" & DD
End If

MM = Month(now)
If Len(MM) = 1 then
MM = "0" & MM
End If

YY = Year(now)
YY = right(YY,2)

Date_Format = DD & "/" & MM & "?" & YY

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

3917


When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.

2151


Explain actions in qtp ?

1042


What is the default object synchronization timeout in qtp?

1273


How do we analyze the checkpoint results?

1083


How did you use regular expressions in QTP and also in WR?

2690


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

2057


How to check bitmap output value?

1247


What is a programmatic description?

1162


What is the syntax for how to call one script from another?

1100


Which environments are supported by hp qtp?

1069


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

1103


What do you mean by checkpoints in qtp?

1058


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

2132


Explain the difference between check point and output value?

1058