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 are the technics follow in writing VB script?

0 Answers   CTS,


with out using import sheet came is it possible to get the excel sheet ?

2 Answers   Ordain Solutions,


what is the difference between the modular framework and datadriven frame work

0 Answers  


What do you mean by checkpoints in qtp?

0 Answers  


in QTP, we have options like (record and play,recording modes(normal,analog,low level),object identification,smart identification,object repository,synchronizing test,transactions,checkpoints(std,bitmap,text,text area,DB,XML,accessibility),regular expression,actions,data driving,parameter,parameterization,data tables,recovery scenario(pop up,object state,test run error,application crash). real time users of QTP, pls say and when and at what point u have used all these options ,in ur concerned project.pls give me explanation in accordance with ur real time project handled. real users pls send some time in the aboue case. if u can send the the reply through allinterview or at ref_it_ref@yahoo.co.in

1 Answers  






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,


hi everybody this questions is only for qtp real time users. anyone please clearly explain the approach u r following for qtp testing in ur company or qtp framework u r following in ur company pelase give me clear explanation then u did great favour to inexeprienced qtp users

0 Answers   Automobile, EDP,


pls tell me how will you write the vb script in QTP for DataDriven test from Excel sheet for multiple userid and password explain with example

6 Answers   Ordain Solutions,


What is All object and Local object in Object Repositary? Explain me please.

3 Answers  


i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself

4 Answers   TCS,


wht is Automation testing frame work. pls explain it

3 Answers   Wipro,


what is Unicoad Compatibility ???? HOw does this makes a diffrence from Winrunner.???

1 Answers   GE,


Categories