Pls let me know how to find out creation time and index for
the web application in descriptive programming?

Answers were Sorted based on User's Feedback



Pls let me know how to find out creation time and index for the web application in descriptive pro..

Answer / saket bharti

Set objBrowser=Description.Create()
objBrowser("micclass")="Browser"

Set BrowserChildArray=Desktop.Childobjects(objBrowser)

for i=0 to BrowserChildArray.Count-1

msgbox BrowserChildArray(i).GetRoProperty("creationtime")

Next

Is This Answer Correct ?    0 Yes 0 No

Pls let me know how to find out creation time and index for the web application in descriptive pro..

Answer / shrinivasbt

hi try this code

For i = 0 To 4

SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe"

Set objPage = Browser("creationtime:="&i).Page("micclass:=Page")
WaitForObjectSync(objPage)

Print Browser("creationtime:=" &
i).GetROProperty("creationtime")

Next

for more details u can reach me on shrinivaster@gmail.com

thanks

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

What is data driver in qtp?

0 Answers  


QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?

1 Answers  


what is the advatages of merging of object repositories in Qtp9.0

3 Answers   TCS,


can we install qtp on server machine and do automation of application which is installed on client machine.If yes then how? If no then is there any other automation tool for this (client-server) senario.

4 Answers  


Among all the check points what is the most important checkpoint?

1 Answers  






How to integrate the qualitycenter with qtp

0 Answers   Wipro,


Idid my qtp course in 2007 june in mind Q i for got to use this tool ,i want to mention in my resume about this ,how can i rectify this ,pls give me any idea .

2 Answers   Quest,


Does QTP recognize two diff browser's at a time..?if possible how..? Is it possible run scripts on Mozilla which are recorded on IE..?..How..?

12 Answers   IBM, Semantic Space, TCS,


i have to pass the testcases into userid anf password of gmail login page using functions you can take your own testcaseslike userdid should take only lowerletters it should not take special charactors and uppercase letters and password should take only numericvalues it should not take alphanumeric and alphabets

2 Answers  


what are the design objects in qtp

3 Answers   Wipro,


What exactly is the difference among all the three recording modes.

2 Answers   TCS,


what is the defference between QTP 8.2 and 9.0and 9.2? plz tell me

6 Answers  


Categories