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

HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people

3 Answers   GE,


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

0 Answers  


I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You

0 Answers   IBM,


what is difference normal,analog,low level recording in qtp? what is lowlevel recording?

2 Answers   JPMorgan Chase,


What ate the Technologies supported by QTP?

0 Answers  






how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables

6 Answers   iton, TATA,


According to use, how virtual object is different from object spy? If Qtp is not learning a sub-menues. What should we done? how would we manage on the expert view too? alkaa.dugaal@gmail.com

1 Answers   HCL,


Waht is diff between SystemUtil.Run and invokeapplication

5 Answers  


Explain the difference between check point and output value?

0 Answers  


what is debugging testing?

5 Answers  


where is the bitmap checkpoint be saved

1 Answers  


Hi Suppose u have complex Test scripts which u vl write first and which u vl execute first

2 Answers   Symphony,


Categories