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
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 |
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 |
How do you invoke an application using the step generator in qtp?
When Recovery scenario actually starts while testing the application?
How will u find that how many List boxes( and check boxes) are present in one particular window
assume i have few url link how will i dynamically call then using descriptive programming?
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.
in a web page How to check and display a particular word from a paragraph?
What is the XML file architecture ?
What is the difference between a Function and Procedure in QTP?
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
What is test object?
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...?
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>.