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
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
what is the mail use of frame work(with detail). architecture for keyword driven frame work
What is the XML file architecture ?
what type of framework u r using in ur organization
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
What is an optional step in qtp ?
How can I import environment from a file on disk?
Write a script to customize the test results in PDF and HTML format.
Discuss the QTP Environment?
Explain types of output values?
How does qtp identify the object in the application?
give me an example where u used good judgement and logic in solving a problem
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
which type of testing process are you following in ur company? how to recognize a qtp page?