How to fetch web elements count from Google Page which
contains letter "e"
Answer Posted / aiswaryan
'Try below code
Set oelement=description.Create
oelement("micclass").value="WebElement"
set elements=Browser("Title:=Google").page
("Title:=Google").ChildObjects(oelement)
cnt= elements.count
For i= 0 to cnt-1
elementname=Browser("Title:=Google").page
("Title:=Google").WebElement
("micclass:=WebElement","index:="&i).getROproperty
("innertext")
Next
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What are the advantages of parameterization ?
Explain different types of checkpoints?
How to handle the exceptions using recovery secnario manager in quicktest professional?
Can we run test with out adding object in object repository? How it is possible?
what is vmodel?advantages and disadvantages of vmodel?
What is standalone database?
What are the advantages of a Hybrid framework?
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
What is the Difference between test object and run time object?
How do know the number of browsers opened?
what are the challenges you have faced while testing web based application using the automation tools ?
how to disable the pop ups through QTP using a script
Hi ,Can any one pleas explain how to test splash objects using QTP?