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

Do you have any knowledge about Business Processing Testing in QTP

1 Answers   TCS,


Tell me about your project? please help me how to tell about insurance project

0 Answers   Cap Gemini,


when there is a task that gets repeated in multiple scripts what do you do in QTP?

2 Answers   Ordain Solutions,


write the vb script for call to new action in qtp?

0 Answers  


Java add-in is need to work on java oriented project ?

3 Answers  


if i want to check text on the status bar how to test is i need the report also after getting the result weather it is matched or not?

2 Answers  


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

0 Answers  


in which situation u will use recording and in which situation u will used to write script manually

1 Answers  


what is the difference btn risks & Therads in the Test plan documentation?

0 Answers   Accenture,


OPening of notedpad in QTP to write and execute the coding?

2 Answers  


I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

0 Answers  


How do we run the scripts in QTP ?? what are the three options....

4 Answers   HCL,


Categories