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
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
Both static and dynamic arrays are handled by the vb script. Is it true?
what is error and fault in terms of software quality?
When to use shared and local object repository?
What is Distributed testing? How does UFT support it?
If I change the property value at runtime is it effect is object repository?
How to run a test using quicktest professional?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
What are the different types of recording modes?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
In Remote acess server how u run a test?
What is the latest version of qtp?
What are the features of quick test pro(qtp)?
Explain in brief about the quicktest professional (qtp) automation object model?