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 do you invoke an application using the step generator in qtp?

5 Answers  


When Recovery scenario actually starts while testing the application?

0 Answers   SAP Labs,


How will u find that how many List boxes( and check boxes) are present in one particular window

8 Answers  


assume i have few url link how will i dynamically call then using descriptive programming?

0 Answers   BirlaSoft,


Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.

0 Answers  


in a web page How to check and display a particular word from a paragraph?

0 Answers  


What is the XML file architecture ?

0 Answers  


What is the difference between a Function and Procedure in QTP?

0 Answers   Wells Fargo,


How to call Datable values in the QTP program. exp: I have two parameters like Email id and Password this two i would like to add multiple entries in the datable to use it. What is the difference between Gobal/Action datatable

3 Answers  


What is test object?

0 Answers  


I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?

4 Answers  


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

0 Answers  


Categories