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 |
Is it mandatory to know abt regular expression in descriptive programming
can we call runaction in the funcion
when we apply the daily build each and every day,the property may change in the application.so that the created script is not reusable in winrunner and qtp.for ex for date field it is taken dtpicker.at another time it is taken some other name.how can i solve it.
hi all, I want to know about the QTP scripts, i have read more books but all areis to be a theory so how can i improve my script skills. if anybody knows about qtp scripts plz guide me and i need a sample scripts.my mail id is karthis4u@gmail.com, 9986667831 If you all have any data send it to akadi111@gmail.com
Hi, how can we check or avoid the memory leakage in QTP9.2?
What is the use of "Step Generator" in QTP??for what purpose we are using??explain with an example
What r types of parametarizations?
How cookies can be tested in QTP?
if numbers are always changing write a script for that
hello all i need some good sites or blogs which give info abt vb script with examples n real time scenarios.just like tutorials as i m new to qtp n vbscripting. its urgenttt
Can U Explain about QTP tool from older version to latest version also its differences?
How to get the particular property value?